1
0
Fork 0

Change colour of prompt

This commit is contained in:
Starbeamrainbowlabs 2016-01-13 21:01:35 +00:00
parent 6eda05c22f
commit 10be4d25cd
1 changed files with 3 additions and 1 deletions

View File

@ -56,8 +56,10 @@ if [ -n "$force_color_prompt" ]; then
fi
fi
# PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;33m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi