From 8bb531990e99b6f71f33007deae41ada6d6ddaf0 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Fri, 2 Sep 2016 04:32:31 +0000 Subject: 39154: _files: -/ with list-dirs-first resulted in a bad pattern, thus aborting completion partway. --- Completion/Unix/Type/_files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix') 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 -- cgit v1.2.3-70-g09d2