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
# a nice bash prompt | |
# put this at the end of your .bashrc file | |
# these separate colors below allow you to change them easily (see https://wiki.archlinux.org/index.php/Color_Bash_Prompt#List_of_colors_for_prompt_and_Bash) | |
# these colors are designed to go with a dark terminal background (and it's probably best if you have colors enabled for the prompt too) | |
PS1_SEP="\[\033[00;36m\]" # separators | |
PS1_OK="\[\033[01;32m\]" # OK (return value wise) | |
PS1_ERR="\[\033[01;31m\]" # error (return value wise) | |
PS1_HNAME="\[\033[01;34m\]" # hostname | |
PS1_CWD="\[\033[01;36m\]" # current working directory | |
PS1_TIME="\[\033[00;36m\]" # time/date |