9890bbb24d23e82bbc8f8fea9ffe423fc3eda12a
- Author
- Markus Prinz <markus.prinz@nuclearsquid.com>
- Committer
- Markus Prinz <markus.prinz@nuclearsquid.com>
- Date
Message
Fix cypher's theme for older zsh versions
Diff
1diff --git a/themes/cypher.zsh-theme b/themes/cypher.zsh-theme
2index 36633da267d5c80f8f51aae8ed8693a04db65c65..45df53d22fb3544a5767e5935dcce713a5216548 100644
3--- a/themes/cypher.zsh-theme
4+++ b/themes/cypher.zsh-theme
5@@ -1,4 +1,4 @@
6 # Based on evan's prompt
7 # Shows the exit status of the last command if non-zero
8 # Uses "#" instead of "»" when running with elevated privileges
9-PROMPT="%m %B%F{red}::%b %B%F{green}%3~%(0?. . %F{red}%? )%F{red}%(0!.#.»)%b%F{white} "
10+PROMPT="%m %{${fg_bold[red]}%}:: %{${fg[green]}%}%3~%(0?. . ${fg[red]}%? )%{${fg[blue]}%}»%{${reset_color}%} "