diff --git a/src/init/starship.bash b/src/init/starship.bash index ccc54ac1..f1ce551e 100644 --- a/src/init/starship.bash +++ b/src/init/starship.bash @@ -71,10 +71,10 @@ else PROMPT_COMMAND="starship_precmd" elif [[ "$PROMPT_COMMAND" != *"starship_precmd" ]]; then # Remove any trailing semicolon before appending (PR #784) - PROMPT_COMMAND="${PROMPT_COMMAND%;};starship_precmd" + PROMPT_COMMAND="${PROMPT_COMMAND%;};starship_precmd;" fi fi # Set up the start time and STARSHIP_SHELL, which controls shell-specific sequences STARSHIP_START_TIME=$(::STARSHIP:: time) -export STARSHIP_SHELL="bash" \ No newline at end of file +export STARSHIP_SHELL="bash"