export PROMPT_COMMAND='ret=$?; if [ $ret -ne 0 ] ; then echo -en "\033[01;31m$ret\033[00;00m" — ; fi; update_terminal_cwd;’ #MacOS #sysadmin
5:49pm October 29th 2013 via TweetDeck