From 51d8e8c9f7308d1140721e4f97575db841168c1a Mon Sep 17 00:00:00 2001 From: Mari Date: Wed, 13 May 2020 15:10:35 -0400 Subject: [PATCH] Autocommitted updated scripts from mari-wovn --- bash_aliases.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bash_aliases.sh b/bash_aliases.sh index b17b6b2..3f274f1 100644 --- a/bash_aliases.sh +++ b/bash_aliases.sh @@ -131,11 +131,11 @@ export GITAWAREPROMPT="$COMMON_CONFIGS_PATH"/git-aware-prompt function prettylastexit() { local exitcode=$? if [[ -z $exitcode ]]; then - echo "[---]\[$txtrst\] " + echo "[---]$txtrst " elif [[ $exitcode == 0 ]]; then - echo "\[$txtgrn\][ OK]\[$txtrst\] " + echo "$txtgrn[ OK]$txtrst " else - printf "\[$txtred\][%3.3s]\[$txtrst\] " "$exitcode" + printf "$txtred[%3.3s]$txtrst " "$exitcode" fi }