Advertisement
Stanley_00

Bash color promt

Jul 1st, 2014
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.19 KB | None | 0 0
  1. PS1='${debian_chroot:+($debian_chroot)}\[\033[1;31m\]\u\[\033[1;30m\]@\[\033[1;31m\]\h\[\033[00m\]:$(a=$?; [ $a -ne 0 ] && echo " \[\033[1;35m\]$a\[\033[00m\] :" )\[\033[01;33m\]\w\[\033[00m\]\$ '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement