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() { function prettylastexit() {
local exitcode=$? local exitcode=$?
if [[ -z $exitcode ]]; then if [[ -z $exitcode ]]; then
echo "[---]\[$txtrst\] " echo "[---]$txtrst "
elif [[ $exitcode == 0 ]]; then elif [[ $exitcode == 0 ]]; then
echo "\[$txtgrn\][ OK]\[$txtrst\] " echo "$txtgrn[ OK]$txtrst "
else else
printf "\[$txtred\][%3.3s]\[$txtrst\] " "$exitcode" printf "$txtred[%3.3s]$txtrst " "$exitcode"
fi fi
} }

Loading…
Cancel
Save