consolidated bashrcs into one version

This commit is contained in:
2018-06-12 18:11:11 -04:00
parent 33173641cc
commit c1b2507ab5
2 changed files with 7 additions and 148 deletions

View File

@@ -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