Browse code

merge steeef.zsh-theme from master (removed submodule check)

steeef authored on 01/10/2010 at 21:17:13
Showing 1 changed files
... ...
@@ -66,7 +66,7 @@ add-zsh-hook chpwd steeef_chpwd
66 66
 
67 67
 function steeef_precmd {
68 68
     # check for untracked files or updated submodules, since vcs_info doesn't
69
-    if [[ -n $(git ls-files --other --exclude-standard 2> /dev/null) || -n $(git ls-files -m --exclude-standard 2> /dev/null) ]]; then
69
+    if [[ -n $(git ls-files --other --exclude-standard 2> /dev/null) ]]; then
70 70
         PR_GIT_UPDATE=1
71 71
         FMT_BRANCH="(%{$fg[magenta]%}%b%u%c%{$fg[red]%}●${PR_RST})"
72 72
     else