Skip to content

Commit

Permalink
Steeef theme checks untracked files instead of directories
Browse files Browse the repository at this point in the history
  • Loading branch information
zellux authored and ncanceill committed May 28, 2014
1 parent 80828cd commit 6bf7f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/steeef.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ add-zsh-hook chpwd steeef_chpwd
function steeef_precmd {
if [[ -n "$PR_GIT_UPDATE" ]] ; then
# check for untracked files or updated submodules, since vcs_info doesn't
if git ls-files --other --exclude-standard --directory 2> /dev/null | grep -q "."; then
if git ls-files --other --exclude-standard 2> /dev/null | grep -q "."; then
PR_GIT_UPDATE=1
FMT_BRANCH="(%{$turquoise%}%b%u%c%{$hotpink%}●${PR_RST})"
else
Expand Down

0 comments on commit 6bf7f39

Please sign in to comment.