diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-09-02 04:32:31 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-09-02 18:23:55 +0000 |
commit | 8bb531990e99b6f71f33007deae41ada6d6ddaf0 (patch) | |
tree | b4dd16bc18fbbdb63676c7ebabb2703d40abaacf /Completion | |
parent | 4547897976f0f3cfe7180d85c92406d43e0b3763 (diff) | |
download | zsh-8bb531990e99b6f71f33007deae41ada6d6ddaf0.tar.gz zsh-8bb531990e99b6f71f33007deae41ada6d6ddaf0.tar.xz zsh-8bb531990e99b6f71f33007deae41ada6d6ddaf0.zip |
39154: _files: -/ with list-dirs-first resulted in a bad pattern, thus aborting completion partway.
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Unix/Type/_files | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_files b/Completion/Unix/Type/_files index 69878242f..2b0c5580a 100644 --- a/Completion/Unix/Type/_files +++ b/Completion/Unix/Type/_files @@ -35,7 +35,7 @@ if (( $tmp[(I)-g*] )); then [[ "$glob" = (#b)(*\()([^\|\~]##\)) && $match[2] != \#q* ]] && glob="${match[1]}#q${match[2]}" elif [[ $type = */* ]]; then - glob="*(-/)" + glob="*(#q-/)" fi tmp=$opts[(I)-F] if (( tmp )); then |