summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2010-12-07 08:08:22 -0800
committerRobby Russell <robby@planetargon.com>2010-12-07 08:08:22 -0800
commit4fadc302472f9b02e386da3e7182c1397ee3cd5c (patch)
tree2d20794da589b43ad5356273a46eec10cee0446b
parentd230d2e519fb4720671ff7acf2b5a05f640eaebe (diff)
parent17c6c0376084d09a6cf3d1260d65447ba179c694 (diff)
downloadzsh-4fadc302472f9b02e386da3e7182c1397ee3cd5c.tar.gz
zsh-4fadc302472f9b02e386da3e7182c1397ee3cd5c.tar.bz2
zsh-4fadc302472f9b02e386da3e7182c1397ee3cd5c.zip
Merge branch 'kardan' of https://github.com/kardan/oh-my-zsh into kardan-kardan
-rw-r--r--themes/kardan.zsh-theme12
1 files changed, 12 insertions, 0 deletions
diff --git a/themes/kardan.zsh-theme b/themes/kardan.zsh-theme
new file mode 100644
index 000000000..fd6586a9d
--- /dev/null
+++ b/themes/kardan.zsh-theme
@@ -0,0 +1,12 @@
+# Simple theme based on my old zsh settings.
+
+function get_host {
+ echo '@'`hostname`''
+}
+
+PROMPT='> '
+RPROMPT='%~$(git_prompt_info)$(get_host)'
+
+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}✗%{$reset_color%}"
+ZSH_THEME_GIT_PROMPT_PREFIX="("
+ZSH_THEME_GIT_PROMPT_SUFFIX=")" \ No newline at end of file