Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Make the command line better!!!

This is the prompt I am currently using. (Add to ~/.bashrc file.)

BWHITE='\[\033[01;37m\]'
BGREEN='\[\033[01;32m\]'
GREEN='\[\033[00;32m\]'
TEAL='\[\033[01;36m\]'
RED='\[\033[01;31m\]'
YELLOW='\[\033[01;33m\]'
ENDCOL='\[\e[m\]'
export PS1="${BWHITE}[${BGREEN}\D{%Y.%m.%d} \t${BWHITE}] ${TEAL}\u${RED}@${GREEN}\h${BWHITE}:${YELLOW}\w\[\033[m\]\[\e[32m\]\`parse_git_branch\`${BWHITE}$ ${ENDCOL}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.