Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Setup command prompt
- if [ "$TERM" != 'dumb' ] && [ -n "$BASH" ] && [ -n "$PS1" ]; then
- if [ `/usr/bin/whoami` = 'root' ]; then
- export PS1='\[\033[01;31m\]\h \[\033[01;34m\]\w \n\$ \[\033[00m\]'
- else
- export PS1='\[\033[01;32m\]\u@\h \[\033[01;34m\]\w \n\$ \[\033[00m\]'
- fi
- fi
Add Comment
Please, Sign In to add comment