consolidated bashrcs into one version
This commit is contained in:
@@ -57,7 +57,13 @@ if [ -n "$force_color_prompt" ]; then
|
||||
fi
|
||||
|
||||
if [ "$color_prompt" = yes ]; then
|
||||
PS1='${debian_chroot:+($debian_chroot)}[\[\e[01;32m\]\u@\h\[\e[00m\]](\[\e[1;36m\]\D{%b %d} \A\[\033[00m\]):\[\033[01;34m\]\W \$\[\033[00m\] '
|
||||
PS1='${debian_chroot:+($debian_chroot)}[\[\e[01;32m\]\u@'
|
||||
if [ "$HOSTNAME" = "a-server" ]; then
|
||||
PS1+='\[\033[0;31m\]\h\[\e[00m\]'
|
||||
else
|
||||
PS1+='\h\[\e[00m\]'
|
||||
fi
|
||||
PS1+='](\[\e[1;36m\]\D{%b %d} \A\[\033[00m\]):\[\033[01;34m\]\W \$\[\033[00m\] '
|
||||
else
|
||||
PS1='${debian_chroot:+($debian_chroot)}[\u@\h](\D{%b %d} \A):\W \$ '
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user