From 5b4122fe2db72af039240702b5ebae93f3cc7596 Mon Sep 17 00:00:00 2001 From: Harshith Date: Mon, 21 Jun 2021 21:53:15 +0530 Subject: [PATCH] refactor: bashism --- ani-cli | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ani-cli b/ani-cli index faa228c..682df8d 100755 --- a/ani-cli +++ b/ani-cli @@ -222,7 +222,8 @@ open_episode () { # Start Up # ############ -trap "echo -e '$c_reset'" INT HUP +# to clear the colors when exited using SIGINT +trap "printf '$c_reset'" INT HUP dep_ch "$player_fn" "curl" "sed" "grep"