This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is a nearly identical copy and paste how I have my status indicators work in terminal | |
| export PROMPT_COMMAND=prompt | |
| function prompt { | |
| local EXIT=$? # This MUST be first to get exit code of last command | |
| # Text Colors, I chose to use tput to get my colors | |
| local BL=`tput setaf 0` # Black | |
| local RD=`tput setaf 1` # Red |
NewerOlder