summaryrefslogtreecommitdiff
path: root/themes/cypher.zsh-theme
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2009-10-06 05:15:55 -0700
committerRobby Russell <robby@planetargon.com>2009-10-06 05:15:55 -0700
commit2289cacecbf027e71380ab0c349dee6f902e7b65 (patch)
tree3401451a58ce8dc47ca13d931fb56949f66ee0df /themes/cypher.zsh-theme
parent8a8343b0de31f3adcd366fc0b9c113ee009287f0 (diff)
parent60e99779d5658841026acb84483a7deeb6851246 (diff)
downloadzsh-2289cacecbf027e71380ab0c349dee6f902e7b65.tar.gz
zsh-2289cacecbf027e71380ab0c349dee6f902e7b65.tar.bz2
zsh-2289cacecbf027e71380ab0c349dee6f902e7b65.zip
Merge branch 'master' of git://github.com/cypher/oh-my-zsh into cypher/master
Diffstat (limited to 'themes/cypher.zsh-theme')
-rw-r--r--themes/cypher.zsh-theme4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/cypher.zsh-theme b/themes/cypher.zsh-theme
new file mode 100644
index 000000000..36633da26
--- /dev/null
+++ b/themes/cypher.zsh-theme
@@ -0,0 +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} "