Don't export PROMPT_COMMAND, not needed
This commit is contained in:
parent
8b9d5a3c21
commit
ddf8897690
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user