From ddf8897690e08d83bd958e53da928d8d5e83ce73 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Mon, 2 Aug 2021 11:50:14 -0700 Subject: [PATCH] Don't export PROMPT_COMMAND, not needed --- base/.config/bash/bashrc.d/bash.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/.config/bash/bashrc.d/bash.sh b/base/.config/bash/bashrc.d/bash.sh index d184eca..2196687 100644 --- a/base/.config/bash/bashrc.d/bash.sh +++ b/base/.config/bash/bashrc.d/bash.sh @@ -3,7 +3,7 @@ # always save bash history before showing prompt; allow reloading bashrc if [[ ! "$PROMPT_COMMAND" =~ "history -a" ]]; then - export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND" + PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND" fi # Disable capslock