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:
parent
f9a4514045
commit
ee20d6b2ac
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue