From c4e189a88b2aa9ee0b59a1aaee0de4c46365909c Mon Sep 17 00:00:00 2001 From: _liminor <18503099+kolchurinvv@users.noreply.github.com> Date: Thu, 11 May 2023 22:56:49 +0200 Subject: [PATCH] fix(prompt): prompt typo - not escaping the } (#1349) --- lib/prompts.zsh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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