Attempt to special case displaying hostname in prompt

This commit is contained in:
Andrew R. M 2019-12-15 17:33:11 -05:00
parent 341fdb8e2a
commit a1b9a98969

View File

@ -12,6 +12,10 @@ no_color="\[\033[0m\]"
# Interactive Prompt: "$ " in green # Interactive Prompt: "$ " in green
export PS1="${green}\$${no_color} " export PS1="${green}\$${no_color} "
if [ "${HOSTNAME}" != "crypt" ]; then
PS1="${PS1}${blue}${HOSTNAME}${PS1}"
fi
# Continuation Prompt: "> " in cyan # Continuation Prompt: "> " in cyan
export PS2="${cyan}>${no_color} " export PS2="${cyan}>${no_color} "
# Debugging Prompt: "# " in blue # Debugging Prompt: "# " in blue