diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Unix/Type/_list_files | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 8b0528909..175b19570 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2015-12-14 Peter Stephenson <p.stephenson@samsung.com> + * 37401: Completion/Unix/Type/_list_files: fix pattern error + causing too much use of zstat. + * 37400: Functions/Chpwd/zsh_directory_name_generic: fix typo that caused unwanted error message. diff --git a/Completion/Unix/Type/_list_files b/Completion/Unix/Type/_list_files index e04392d1d..6c52bc1f4 100644 --- a/Completion/Unix/Type/_list_files +++ b/Completion/Unix/Type/_list_files @@ -36,7 +36,7 @@ for elt in $stylevals; do break ;; - (*($what|all|true|1|yes)[^=]#) + ([^=]#($what|all|true|1|yes)[^=]#) # always use long format (( ok = 1 )) break |