[bash] Fix history -a appending for starship prompts
This commit is contained in:
parent
75dd630e7b
commit
f3d77c1f5c
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@ shopt -s checkjobs
|
|||
eval "$(zoxide init bash)"
|
||||
|
||||
if [[ $TERM != "dumb" ]]; then
|
||||
eval "$(starship init bash --print-full-init)"
|
||||
eval "$(starship init bash --print-full-init)"
|
||||
export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND; $'\n'}history -a; history -c; history -r"
|
||||
fi
|
||||
|
||||
for f in ~/.config/bash/*.sh; do source $f; done
|
||||
|
|
Loading…
Reference in a new issue