Skip to content

Commit

Permalink
fix(prompt): prompt typo - not escaping the } (spaceship-prompt#1349)
Browse files Browse the repository at this point in the history
  • Loading branch information
kolchurinvv committed May 11, 2023
1 parent 1fc4cd2 commit 211b281
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/prompts.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down Expand Up @@ -56,7 +56,6 @@ spaceship::ps2() {
spaceship::section::render "$ps2"
}


# Render the prompt. Compose variables using prompt functoins.
# USAGE:
# spaceship::populate
Expand Down

0 comments on commit 211b281

Please sign in to comment.