This file contains 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
# put this in your .bashrc | |
PROMPT_COMMAND=__prompt_command | |
__prompt_command() { | |
local LAST_EXIT="$?" | |
PS1="" | |
local RED='\[\e[31m\]' | |
local GREEN='\[\e[01;32m\]' | |
local BLUE='\[\e[01;34m\]' |
OlderNewer