Fix Direnv prompt whenver off primary hosts

This commit is contained in:
Andrew R. M 2025-04-05 16:37:09 -04:00 committed by Andrew R. M.
parent 0f59972f1b
commit 97a4f9fa91

View File

@ -24,8 +24,8 @@ fi
export PS1="${green}\$${no_color} "
export DIRENV_PS1="${red}\$${no_color} "
if [ "${HOSTNAME}" != "crypt" ] && [ "${HOSTNAME}" != "tomb" ] || [ "${SSH_TTY}" != "" ]; then
DIRENV_PS1="${DIRENV_PS1}${blue}${HOSTNAME} ${DIRENV_PS1}"
PS1="${PS1}${blue}${HOSTNAME} ${PS1}"
DIRENV_PS1="${PS1}${blue}${HOSTNAME} ${PS1}"
fi
export ORIG_PS1=${PS1}