updated prompt colors.

This commit is contained in:
2020-05-20 15:50:41 +00:00
parent 8fece2f991
commit a2b0e79723
+5 -4
View File
@@ -97,11 +97,12 @@ case $add_style in
(
cat << 'STYLE'
# ABS prompt color dependent on hostname containing "dev"
if [[ $HOSTNAME == *dev* ]] ; then
PS1="\[\033[38;5;9m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]@\[$(tput sgr0)\]\[\033[38;5;11m\]\h\[$(tput sgr0)\]\[\033[38;5;15m\]:\[$(tput sgr0)\]\[\033[38;5;14m\]\w\[$(tput sgr0)\]\\$ \[$(tput sgr0)\]"
# ABS prompt color dependent on hostname "purple", "orange", or neither if [[ $HOSTNAME == *purple* ]] ; then
PS1="\[\e[32m\]\u\[\e[m\]@\[\e[35m\]\h\[\e[m\]:\[\e[36m\]\w\[\e[m\]\\$ "
elif [[ $HOSTNAME == *orange* ]] ; then
PS1="\[\e[32m\]\u\[\e[m\]@\[\e[31m\]\h\[\e[m\]:\[\e[36m\]\w\[\e[m\]\\$ "
else
PS1="\[\033[38;5;10m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]@\[$(tput sgr0)\]\[\033[38;5;11m\]\h\[$(tput sgr0)\]\[\033[38;5;15m\]:\[$(tput sgr0)\]\[\033[38;5;14m\]\w\[$(tput sgr0)\]\\$ \[$(tput sgr0)\]"
PS1="\[\e[32m\]\u\[\e[m\]@\[\e[33;40m\]\h\[\e[m\]:\[\e[36m\]\w\[\e[m\]\\$ "
fi
STYLE