Merge pull request #224 from Kr1ss-XD/clean-abort
restore default text color on 'Ctrl-C' exit
This commit is contained in:
commit
695ca15940
2
bin/mw
2
bin/mw
@ -313,6 +313,8 @@ synchronize_flags=true
|
|||||||
gpg_path=$GPG"
|
gpg_path=$GPG"
|
||||||
echo "$nmbasic" > "$NOTMUCH_CONFIG" ;}
|
echo "$nmbasic" > "$NOTMUCH_CONFIG" ;}
|
||||||
|
|
||||||
|
trap 'echo -e "\033[0m\n"' INT
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
ls) list ;;
|
ls) list ;;
|
||||||
add) asktype && askinfo && tryconnect && finalize || delete ;;
|
add) asktype && askinfo && tryconnect && finalize || delete ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user