▄▄|0 17 :3 project bashprompt $
▄▄ 0 18 ;> project bashprompt $ cd build/
▄▄ 0 19 :> bashprompt build $ false
▄▄ 1 20 :) bashprompt build $ [[ "str" == "str" ]]
▄▄ 0 21 ;P bashprompt build $ [[ "str" == "strs" ]]
▄▄ 1 22 ;> bashprompt build $
make
sudo install ./build/bashprompt /usr/local/bin/bashprompt
/usr/local/bin/bashprompt help
Ensure that the file is executable and that you use an absolute path to the file. Copy the output to your .bashrc for automatic start up. DO NOT USE .bash_profile or .profile.
IPCOLOR=alt
IP address will be colored with an alternate color palette.
IPCOLOR=none
IP address and username will not be printed.