fix: Prepend to PROMPT_COMMAND in Bash init (#336)

Bash init: do not overwrite PROMPT_COMMAND but prepend to it.
This commit is contained in:
Daniel Illi-Zuberbühler 2019-09-10 21:12:29 +02:00 committed by Matan Kushner
parent f9a4514045
commit ee20d6b2ac
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ else
fi
# Finally, prepare the precmd function and set up the start time.
PROMPT_COMMAND=starship_precmd
PROMPT_COMMAND="starship_precmd;$PROMPT_COMMAND";
fi
# Set up the start time and STARSHIP_SHELL, which controls shell-specific sequences