fixing a typo.
This commit is contained in:
@@ -97,7 +97,8 @@ case $add_style in
|
|||||||
(
|
(
|
||||||
cat << 'STYLE'
|
cat << 'STYLE'
|
||||||
|
|
||||||
# ABS prompt color dependent on hostname "purple", "orange", or neither if [[ $HOSTNAME == *purple* ]] ; then
|
# 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\]\\$ "
|
PS1="\[\e[32m\]\u\[\e[m\]@\[\e[35m\]\h\[\e[m\]:\[\e[36m\]\w\[\e[m\]\\$ "
|
||||||
elif [[ $HOSTNAME == *orange* ]] ; then
|
elif [[ $HOSTNAME == *orange* ]] ; then
|
||||||
PS1="\[\e[32m\]\u\[\e[m\]@\[\e[31m\]\h\[\e[m\]:\[\e[36m\]\w\[\e[m\]\\$ "
|
PS1="\[\e[32m\]\u\[\e[m\]@\[\e[31m\]\h\[\e[m\]:\[\e[36m\]\w\[\e[m\]\\$ "
|
||||||
|
|||||||
Reference in New Issue
Block a user