summaryrefslogtreecommitdiff
path: root/themes/steeef.zsh-theme
diff options
context:
space:
mode:
authorKristi <kristi.dev@gmail.com>2012-06-13 13:14:31 -0700
committerKristi <kristi.dev@gmail.com>2012-06-13 13:14:31 -0700
commit4d6b532248fce0e71d762eb1ec3ef2ec8fcd5289 (patch)
tree6d9a18ec18d34515496ab0a0a7f1333f0c8b66c7 /themes/steeef.zsh-theme
parentdee54a2477d2a5be5d6cced7497f539ecfc2e05f (diff)
downloadzsh-4d6b532248fce0e71d762eb1ec3ef2ec8fcd5289.tar.gz
zsh-4d6b532248fce0e71d762eb1ec3ef2ec8fcd5289.tar.bz2
zsh-4d6b532248fce0e71d762eb1ec3ef2ec8fcd5289.zip
add --directory flag
Diffstat (limited to 'themes/steeef.zsh-theme')
-rw-r--r--themes/steeef.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/steeef.zsh-theme b/themes/steeef.zsh-theme
index f22ce2719..312229e9f 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 2> /dev/null | grep -q "."; then
+ if git ls-files --other --exclude-standard --directory 2> /dev/null | grep -q "."; then
PR_GIT_UPDATE=1
FMT_BRANCH="(%{$turquoise%}%b%u%c%{$hotpink%}●${PR_RST})"
else