From d2dc07995136c76f39c846f8f9a4c60ee444c397 Mon Sep 17 00:00:00 2001 From: r2dev2 Date: Fri, 18 Jun 2021 14:28:34 -0700 Subject: [PATCH] Reset shell color when exiting via keyboard interrupt --- ani-cli | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ani-cli b/ani-cli index 8d2c25a..faa228c 100755 --- a/ani-cli +++ b/ani-cli @@ -222,6 +222,8 @@ open_episode () { # Start Up # ############ +trap "echo -e '$c_reset'" INT HUP + dep_ch "$player_fn" "curl" "sed" "grep" # option parsing