Browse code

Added my own theme.

Takashi Yoshida authored on 30/05/2010 at 16:56:26
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,27 @@
0
+#
1
+# PROMPT
2
+#
3
+PROMPT_BRACKET_BEGIN='%{$fg_bold[white]%}['
4
+PROMPT_HOST='%{$fg_bold[cyan]%}%m'
5
+PROMPT_SEPARATOR='%{$reset_color%}:'
6
+PROMPT_DIR='%{$fg_bold[yellow]%}%c'
7
+PROMPT_BRACKET_END='%{$fg_bold[white]%}]'
8
+
9
+PROMPT_USER='%{$fg_bold[white]%}%n'
10
+PROMPT_SIGN='%{$reset_color%}%#'
11
+
12
+GIT_PROMPT_INFO='$(git_prompt_info)'
13
+
14
+# My current prompt looks like:
15
+# [host:current_dir] (git_prompt_info)
16
+# [username]%
17
+PROMPT="${PROMPT_BRACKET_BEGIN}${PROMPT_HOST}${PROMPT_SEPARATOR}${PROMPT_DIR}${PROMPT_BRACKET_END}${GIT_PROMPT_INFO}
18
+${PROMPT_BRACKET_BEGIN}${PROMPT_USER}${PROMPT_BRACKET_END}${PROMPT_SIGN} "
19
+
20
+#
21
+# Git repository
22
+#
23
+ZSH_THEME_GIT_PROMPT_PREFIX=" on %{$fg[magenta]%}"
24
+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
25
+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%}!"
26
+ZSH_THEME_GIT_PROMPT_CLEAN=''