diff options
author | Fice-T <Fice-T@users.noreply.github.com> | 2015-08-16 22:36:32 -0600 |
---|---|---|
committer | Fice-T <Fice-T@users.noreply.github.com> | 2015-08-16 22:53:07 -0600 |
commit | c66c3aef8126bf943b2746afb6a9c2a536990db5 (patch) | |
tree | 85d56a898fc588398e96c03773caab4cc93d86e7 /themes/cypher.zsh-theme | |
parent | 192de6bcffb0294e19f4203f6f7dc1a7f3e427be (diff) | |
download | zsh-c66c3aef8126bf943b2746afb6a9c2a536990db5.tar.gz zsh-c66c3aef8126bf943b2746afb6a9c2a536990db5.tar.bz2 zsh-c66c3aef8126bf943b2746afb6a9c2a536990db5.zip |
Fix graphical bug in cypher theme when return status is non-zero
- When the previous command's return status is non-zero and the prompt
is redrawn, graphical errors sometimes arise due to the fg{red} not
being escaped.
Diffstat (limited to 'themes/cypher.zsh-theme')
-rw-r--r-- | themes/cypher.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/cypher.zsh-theme b/themes/cypher.zsh-theme index 45df53d22..6e6b78ee6 100644 --- a/themes/cypher.zsh-theme +++ b/themes/cypher.zsh-theme @@ -1,4 +1,4 @@ # Based on evan's prompt # Shows the exit status of the last command if non-zero # Uses "#" instead of "»" when running with elevated privileges -PROMPT="%m %{${fg_bold[red]}%}:: %{${fg[green]}%}%3~%(0?. . ${fg[red]}%? )%{${fg[blue]}%}»%{${reset_color}%} " +PROMPT="%m %{${fg_bold[red]}%}:: %{${fg[green]}%}%3~%(0?. . %{${fg[red]}%}%? )%{${fg[blue]}%}»%{${reset_color}%} " |