diff options
author | Daniel Illi-Zuberbühler <daniel-illi@users.noreply.github.com> | 2019-09-10 21:12:29 +0200 |
---|---|---|
committer | Matan Kushner <hello@matchai.me> | 2019-09-10 15:12:29 -0400 |
commit | ee20d6b2ac794ef84921509d35294714126889fd (patch) | |
tree | 0ed8599a397f862508b1cf495782a7e0dc4c6680 | |
parent | f9a45140459c9f155a2be46c2c51d3c186bb3175 (diff) |
fix: Prepend to PROMPT_COMMAND in Bash init (#336)
Bash init: do not overwrite PROMPT_COMMAND but prepend to it.
-rw-r--r-- | src/init.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.rs b/src/init.rs index 92390c755..33fad064c 100644 --- a/src/init.rs +++ b/src/init.rs @@ -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 |