summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorAndy Fowler <andy@andyfowler.com>2010-05-05 04:19:09 +0800
committerRobby Russell <robby@planetargon.com>2010-05-08 04:28:40 +0800
commit6213f3304f945b56dfea30d6e11e4c860afdbbc9 (patch)
treefed4ab70cc38d71e75397618bb3e02fe164c6060 /themes
parent458da5895a5fd13823545c187cf64436b39c8266 (diff)
downloadzsh-6213f3304f945b56dfea30d6e11e4c860afdbbc9.tar.gz
zsh-6213f3304f945b56dfea30d6e11e4c860afdbbc9.tar.bz2
zsh-6213f3304f945b56dfea30d6e11e4c860afdbbc9.zip
my WIP theme
Diffstat (limited to 'themes')
-rw-r--r--themes/afowler.zsh-theme8
1 files changed, 8 insertions, 0 deletions
diff --git a/themes/afowler.zsh-theme b/themes/afowler.zsh-theme
new file mode 100644
index 000000000..f82e7bc25
--- /dev/null
+++ b/themes/afowler.zsh-theme
@@ -0,0 +1,8 @@
+local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
+
+PROMPT='%m %{${fg_bold[blue]}%}:: %{$reset_color%}%{${fg[green]}%}%3~ $(git_prompt_info)%{${fg[blue]}%}»%{${reset_color}%} '
+
+RPS1="${return_code}"
+
+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹"
+ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"