1
0
Fork 0

Autocommitted updated scripts from mari-wovn

main
Mari 4 years ago
parent 9a77080be5
commit 51d8e8c9f7
  1. 6
      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
}

Loading…
Cancel
Save