85426a57a2561f675a6ad51754d6687c3ec571c2
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Merge pull request #1526 from filipechagas/master
Gitfast plugin - Untracked files char not shown %
Diff
1diff --git a/plugins/gitfast/git-prompt.sh b/plugins/gitfast/git-prompt.sh
2index bf20491ec33e467f6b9591d94a2e27bc9e3d93e9..afd76e86ebe729c2e6693b81a52842017a5aa079 100644
3--- a/plugins/gitfast/git-prompt.sh
4+++ b/plugins/gitfast/git-prompt.sh
5@@ -275,7 +275,7 @@ __git_ps1 ()
6
7 if [ -n "${GIT_PS1_SHOWUNTRACKEDFILES-}" ]; then
8 if [ -n "$(git ls-files --others --exclude-standard)" ]; then
9- u="%"
10+ u="%%"
11 fi
12 fi
13
14diff --git a/themes/crcandy.zsh-theme b/themes/crcandy.zsh-theme
15new file mode 100644
16index 0000000000000000000000000000000000000000..0a63c12450ebccf04ec433b42eaade1dcc6b2370
17--- /dev/null
18+++ b/themes/crcandy.zsh-theme
19@@ -0,0 +1,8 @@
20+PROMPT=$'
21+%{$fg_bold[green]%}%n@%m %{$fg[blue]%}%D{[%I:%M:%S]} %{$reset_color%}%{$fg[white]%}[%~]%{$reset_color%} $(git_prompt_info)\
22+%{$fg[blue]%}->%{$fg_bold[blue]%} %#%{$reset_color%} '
23+
24+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}["
25+ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%}"
26+ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}*%{$fg[green]%}"
27+ZSH_THEME_GIT_PROMPT_CLEAN=""