summaryrefslogtreecommitdiff
path: root/themes/fishy.zsh-theme
diff options
context:
space:
mode:
authorNanoTech <nanotech008@gmail.com>2011-02-05 23:51:05 -0600
committerNanoTech <nanotech008@gmail.com>2011-02-05 23:51:05 -0600
commit143dd165e973a3559fbc1b085f1ff05e263f85b0 (patch)
tree25aa67cf40f468d658ec6f37657e8efa3c128ef8 /themes/fishy.zsh-theme
parent2a203b558fd6328c9a91e9dbbf145d91e7ba7ed1 (diff)
parent01b0366f3e27cf30f3882870100f14625fc267d1 (diff)
downloadzsh-143dd165e973a3559fbc1b085f1ff05e263f85b0.tar.gz
zsh-143dd165e973a3559fbc1b085f1ff05e263f85b0.tar.bz2
zsh-143dd165e973a3559fbc1b085f1ff05e263f85b0.zip
Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'themes/fishy.zsh-theme')
-rw-r--r--themes/fishy.zsh-theme9
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/fishy.zsh-theme b/themes/fishy.zsh-theme
new file mode 100644
index 000000000..f22eda868
--- /dev/null
+++ b/themes/fishy.zsh-theme
@@ -0,0 +1,9 @@
+# ZSH Theme emulating the Fish shell's default prompt.
+
+local user_color='green'; [ $UID -eq 0 ] && user_color='red'
+PROMPT='%n@%m %{$fg[$user_color]%}%~%{$reset_color%}%(!.#.>) '
+PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
+RPS1='%(?..%{$fg[red]%}%? ↵%{$reset_color%})$(git_prompt_info)'
+
+ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[cyan]%}"
+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"