diff options
| author | Yuanxuan Wang <zellux@gmail.com> | 2013-01-25 01:45:49 +0800 | 
|---|---|---|
| committer | ncanceill <nicolas.canceill@ens-cachan.org> | 2014-05-28 11:20:41 +0200 | 
| commit | 6bf7f39345db64e5c37a5c5ac2e8189df0f8a8c6 (patch) | |
| tree | 61b443b547c78498385f1f7d2bf05a6d29f1bcd0 /themes | |
| parent | 80828cd0d3d415b49530c0f7e989f6d251427985 (diff) | |
| download | zsh-6bf7f39345db64e5c37a5c5ac2e8189df0f8a8c6.tar.gz zsh-6bf7f39345db64e5c37a5c5ac2e8189df0f8a8c6.tar.bz2 zsh-6bf7f39345db64e5c37a5c5ac2e8189df0f8a8c6.zip | |
Steeef theme checks untracked files instead of directories
Diffstat (limited to 'themes')
| -rw-r--r-- | themes/steeef.zsh-theme | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/themes/steeef.zsh-theme b/themes/steeef.zsh-theme index e0080b8a5..9d27410b8 100644 --- a/themes/steeef.zsh-theme +++ b/themes/steeef.zsh-theme @@ -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 | 
