From 5d5a09993654ce691523e4e9619003fce69ad377 Mon Sep 17 00:00:00 2001 From: "Andrew R. M" Date: Thu, 30 Jun 2022 19:38:35 -0400 Subject: [PATCH] Expand collapsed bash prompt hostname matching --- bash/.bashrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index afb8601..e261d98 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -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