Expand collapsed bash prompt hostname matching
This commit is contained in:
parent
ec64564a12
commit
5d5a099936
@ -10,9 +10,8 @@ magenta="\[\033[1;35m\]"
|
||||
cyan="\[\033[1;36m\]"
|
||||
no_color="\[\033[0m\]"
|
||||
|
||||
# Interactive Prompt: "$ " in green
|
||||
export PS1="${green}\$${no_color} "
|
||||
if [ "${HOSTNAME}" != "crypt" ]; then
|
||||
if [ "${HOSTNAME}" != "crypt" ] && [ "${HOSTNAME}" != "tomb" ]; then
|
||||
PS1="${PS1}${blue}${HOSTNAME} ${PS1}"
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user