From 6d2071b1ea5c30c49b5956298aa2fc70cb77d000 Mon Sep 17 00:00:00 2001 From: "Andrew R. M" Date: Fri, 4 Apr 2025 17:42:35 +0000 Subject: [PATCH] Fix Direnv prompt whenver off primary hosts --- bash/.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/.bashrc b/bash/.bashrc index 110982c..102bd56 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -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}