Don't export PROMPT_COMMAND, not needed

This commit is contained in:
Buddy Sandidge 2021-08-02 11:50:14 -07:00
parent 8b9d5a3c21
commit ddf8897690

View File

@ -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