Advertisement
saper_2

PS1 colorized

Jun 12th, 2016
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.58 KB | None | 0 0
  1. # PS1 for root from .bashrc file - red user, dark red at, white hostname, dark red colon, dark blue cwd, dark red hashtag
  2. PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u\[\033[00;31m\]@\[\033[00;37m\]\h\[\033[00m\]\[\033[00;31m\]:\[\033[00;34m\]\w \[\033[00;31m\]\$\[\033[00m\] '
  3.  
  4. # PS1 for user from .bashrc file - light green user, at green, white hostname, dark green colon, light blue cwd , dark green "dolar-sign"
  5. PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u\[\033[00;32m\]@\[\033[00;37m\]\h\[\033[00m\]\[\033[00;32m\]:\[\033[01;34m\]\w \[\033[00;32m\]\$\[\033[00m\] '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement