47e9914529e0807681c3c6dd2c11187ee67f0326
- Author
- Takashi Yoshida <takashi@takashiyoshida.org>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Added my own theme.
Diff
1diff --git a/themes/takashiyoshida.zsh-theme b/themes/takashiyoshida.zsh-theme
2new file mode 100644
3index 0000000000000000000000000000000000000000..419a8cf3f45366ab5e4d1f5b15bd49e392e94dc7
4--- /dev/null
5+++ b/themes/takashiyoshida.zsh-theme
6@@ -0,0 +1,27 @@
7+#
8+# PROMPT
9+#
10+PROMPT_BRACKET_BEGIN='%{$fg_bold[white]%}['
11+PROMPT_HOST='%{$fg_bold[cyan]%}%m'
12+PROMPT_SEPARATOR='%{$reset_color%}:'
13+PROMPT_DIR='%{$fg_bold[yellow]%}%c'
14+PROMPT_BRACKET_END='%{$fg_bold[white]%}]'
15+
16+PROMPT_USER='%{$fg_bold[white]%}%n'
17+PROMPT_SIGN='%{$reset_color%}%#'
18+
19+GIT_PROMPT_INFO='$(git_prompt_info)'
20+
21+# My current prompt looks like:
22+# [host:current_dir] (git_prompt_info)
23+# [username]%
24+PROMPT="${PROMPT_BRACKET_BEGIN}${PROMPT_HOST}${PROMPT_SEPARATOR}${PROMPT_DIR}${PROMPT_BRACKET_END}${GIT_PROMPT_INFO}
25+${PROMPT_BRACKET_BEGIN}${PROMPT_USER}${PROMPT_BRACKET_END}${PROMPT_SIGN} "
26+
27+#
28+# Git repository
29+#
30+ZSH_THEME_GIT_PROMPT_PREFIX=" on %{$fg[magenta]%}"
31+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
32+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%}!"
33+ZSH_THEME_GIT_PROMPT_CLEAN=''