From 172bb418304eb4c513f8ae43dd72ff201a046b38 Mon Sep 17 00:00:00 2001
From: Markus Prinz <markus.prinz@nuclearsquid.com>
Date: Sat, 3 Oct 2009 19:34:49 +0200
Subject: Add my (cypher's) zsh prompt

Based on Evan's prompt, it uses colors, shows the exit status of the
last command if it was non-zero, and displays "#" when running
with elevated privileges
---
 themes/cypher.zsh-theme | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 themes/cypher.zsh-theme

(limited to 'themes/cypher.zsh-theme')

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} "
-- 
cgit v1.2.3-70-g09d2