diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2006-12-01 12:54:20 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-12-01 12:54:20 +0000 |
commit | ac05bc6e026aebc0fa40ec942501026ebd489919 (patch) | |
tree | 2c7518a73f6cee8f09f62c6a4e7a06ac8128bb92 /Completion | |
parent | 026bf115664dd8b0d2c192351355de4458d63039 (diff) | |
download | zsh-ac05bc6e026aebc0fa40ec942501026ebd489919.tar.gz zsh-ac05bc6e026aebc0fa40ec942501026ebd489919.tar.xz zsh-ac05bc6e026aebc0fa40ec942501026ebd489919.zip |
unposted: fix calendar stuff
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Unix/Type/_list_files | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_list_files b/Completion/Unix/Type/_list_files index 3d5281669..8475d2056 100644 --- a/Completion/Unix/Type/_list_files +++ b/Completion/Unix/Type/_list_files @@ -48,6 +48,7 @@ done zmodload -i zsh/stat 2>/dev/null || return 1 +{ # Enable stat temporarily if disabled to avoid clashes. integer disable_stat if [[ ${builtins[stat]} != defined ]]; then @@ -73,5 +74,7 @@ done (( ${#listfiles} )) && listopts=(-d listfiles -l -o) -(( disable_stat )) && disable stat +} always { + (( disable_stat )) && disable stat +} return 0 |