summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2010-06-10 07:50:24 -0700
committerRobby Russell <robby@planetargon.com>2010-06-10 07:50:24 -0700
commit7c279856ed4f244a504e5fc89201ab0be86eade5 (patch)
tree8374a738cb30be059fbdf2752d9c80d609abbab6 /themes
parent7f350da5b74c65ed99766c8ebd5137aee9479225 (diff)
parentb26ff059653716fd38d1813b797572bbec718c16 (diff)
downloadzsh-7c279856ed4f244a504e5fc89201ab0be86eade5.tar.gz
zsh-7c279856ed4f244a504e5fc89201ab0be86eade5.tar.bz2
zsh-7c279856ed4f244a504e5fc89201ab0be86eade5.zip
Merge branch 'master' of github.com:robbyrussell/oh-my-zsh
Diffstat (limited to 'themes')
-rw-r--r--themes/takashiyoshida.zsh-theme27
1 files changed, 27 insertions, 0 deletions
diff --git a/themes/takashiyoshida.zsh-theme b/themes/takashiyoshida.zsh-theme
new file mode 100644
index 000000000..419a8cf3f
--- /dev/null
+++ b/themes/takashiyoshida.zsh-theme
@@ -0,0 +1,27 @@
+#
+# PROMPT
+#
+PROMPT_BRACKET_BEGIN='%{$fg_bold[white]%}['
+PROMPT_HOST='%{$fg_bold[cyan]%}%m'
+PROMPT_SEPARATOR='%{$reset_color%}:'
+PROMPT_DIR='%{$fg_bold[yellow]%}%c'
+PROMPT_BRACKET_END='%{$fg_bold[white]%}]'
+
+PROMPT_USER='%{$fg_bold[white]%}%n'
+PROMPT_SIGN='%{$reset_color%}%#'
+
+GIT_PROMPT_INFO='$(git_prompt_info)'
+
+# My current prompt looks like:
+# [host:current_dir] (git_prompt_info)
+# [username]%
+PROMPT="${PROMPT_BRACKET_BEGIN}${PROMPT_HOST}${PROMPT_SEPARATOR}${PROMPT_DIR}${PROMPT_BRACKET_END}${GIT_PROMPT_INFO}
+${PROMPT_BRACKET_BEGIN}${PROMPT_USER}${PROMPT_BRACKET_END}${PROMPT_SIGN} "
+
+#
+# Git repository
+#
+ZSH_THEME_GIT_PROMPT_PREFIX=" on %{$fg[magenta]%}"
+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%}!"
+ZSH_THEME_GIT_PROMPT_CLEAN=''