- # Regular style: user@host:/path$
- ## Root [red]root[white]@[green]host[white]:[cyan]path:
- PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u\[\033[01;37m\]@\[\033[01;32m\]\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ '
- ## Users [green]user[white]@[green]host[white]:[cyan]path:
- PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u\[\033[01;39m\]@\[\033[01;32m\]\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ '
- ## Prompt Colors
- BGREEN='\[\033[1;32m\]'
- GREEN='\[\033[0;32m\]'
- BRED='\[\033[1;31m\]'
- RED='\[\033[0;31m\]'
- BBLUE='\[\033[1;34m\]'
- BLUE='\[\033[0;34m\]'
- NORMAL='\[\033[00m\]'
- # Path in front of user: (/path) user@host: $
- PS1="${RED}(${NORMAL}\w${RED}) ${RED}\u${BBLUE}@${NORMAL}\h: ${RED}\$ ${NORMAL}"
- PS1="${RED}(${NORMAL}\w${RED}) ${GREEN}\u${BBLUE}@${NORMAL}\h: ${RED}\$ ${NORMAL}"
- # Directory colors (cyan)
- LS_COLORS=$LS_COLORS:'di=0;36:' ; export LS_COLORS
- https://misc.flogisoft.com/bash/tip_colors_and_formatting
Recent Pastes