浏览代码

Fix cypher's theme for older zsh versions

Markus Prinz 14 年之前
父节点
当前提交
9890bbb24d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      themes/cypher.zsh-theme

+ 1 - 1
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 %B%F{red}::%b %B%F{green}%3~%(0?. . %F{red}%? )%F{red}%(0!.#.»)%b%F{white} "
+PROMPT="%m %{${fg_bold[red]}%}:: %{${fg[green]}%}%3~%(0?. . ${fg[red]}%? )%{${fg[blue]}%}»%{${reset_color}%} "