diff --git a/lib/prompts.zsh b/lib/prompts.zsh index 87b52795f..74ef6ee25 100755 --- a/lib/prompts.zsh +++ b/lib/prompts.zsh @@ -15,7 +15,7 @@ spaceship::prompt() { # Allow iTerm integration to work if [[ "${ITERM_SHELL_INTEGRATION_INSTALLED:-}" == "Yes" ]]; then - prompt="%{$(iterm2_prompt_mark)%}${prompt}%{$(iterm2_prompt_end)}" + prompt="%{$(iterm2_prompt_mark)%}${prompt}%{$(iterm2_prompt_end)%}" fi # Should it add a new line before the prompt? @@ -56,7 +56,6 @@ spaceship::ps2() { spaceship::section::render "$ps2" } - # Render the prompt. Compose variables using prompt functoins. # USAGE: # spaceship::populate