summaryrefslogtreecommitdiff
path: root/themes/lukerandall.zsh-theme
diff options
context:
space:
mode:
authorNanoTech <nanotech008@gmail.com>2010-10-19 15:39:27 -0600
committerNanoTech <nanotech008@gmail.com>2010-10-19 15:39:27 -0600
commit68f893cbe05e5a84adf7f26a0ed7492af6e03def (patch)
tree81b436518d3552f47a02f44963e84700627d1bec /themes/lukerandall.zsh-theme
parent02c5fd5bdd0d37bb0e1cb19ad058154f5b7d96a7 (diff)
parentdc12853b0c3e5af9e42f44cb9efdf57d44d20711 (diff)
downloadzsh-68f893cbe05e5a84adf7f26a0ed7492af6e03def.tar.gz
zsh-68f893cbe05e5a84adf7f26a0ed7492af6e03def.tar.bz2
zsh-68f893cbe05e5a84adf7f26a0ed7492af6e03def.zip
Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'themes/lukerandall.zsh-theme')
-rw-r--r--themes/lukerandall.zsh-theme10
1 files changed, 10 insertions, 0 deletions
diff --git a/themes/lukerandall.zsh-theme b/themes/lukerandall.zsh-theme
new file mode 100644
index 000000000..24a0612b7
--- /dev/null
+++ b/themes/lukerandall.zsh-theme
@@ -0,0 +1,10 @@
+# ZSH Theme - Preview: http://cl.ly/f701d00760f8059e06dc
+# Thanks to gallifrey, upon whose theme this is based
+
+local return_code="%(?..%{$fg_bold[red]%}%? ↵%{$reset_color%})"
+
+PROMPT='%{$fg_bold[green]%}%n@%m%{$reset_color%} %{$fg_bold[blue]%}%2~%{$reset_color%} $(git_prompt_info)%{$reset_color%}%B»%b '
+RPS1="${return_code}"
+
+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}("
+ZSH_THEME_GIT_PROMPT_SUFFIX=") %{$reset_color%}"