about summary refs log tree commit diff
path: root/Completion/Core/_files
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-05 10:50:08 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-05 10:50:08 +0000
commitf7a52cda469fd0a1b7198342fc052ef64ab70e8f (patch)
treecf36f8218922439ae64948f8e8f48a97de6105b6 /Completion/Core/_files
parent5de3404e7c48edae1fa6b2ffc03bc8ed20d32be3 (diff)
downloadzsh-f7a52cda469fd0a1b7198342fc052ef64ab70e8f.tar.gz
zsh-f7a52cda469fd0a1b7198342fc052ef64ab70e8f.tar.xz
zsh-f7a52cda469fd0a1b7198342fc052ef64ab70e8f.zip
two small completion fixes
Diffstat (limited to 'Completion/Core/_files')
-rw-r--r--Completion/Core/_files2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Core/_files b/Completion/Core/_files
index f16da0b50..0c0231cb4 100644
--- a/Completion/Core/_files
+++ b/Completion/Core/_files
@@ -6,7 +6,7 @@ zparseopts -a opts \
     '/=tmp' 'f=tmp' 'g+:-=tmp' q n 1 2 P: S: r: R: W: X+: M+: F: J+: V+:
 
 type="${(@j::M)${(@)tmp#-}#?}"
-(( $tmp[(I)-g*] )) && glob="${(j: :)${(M)tmp:#-g*}#-g}"
+(( $tmp[(I)-g*] )) && glob="${(j: :)${(@M)tmp:#-g*}#-g}"
 ign=$opts[(I)-F]
 if (( ign )); then
   ign=( $=opts[ign+1] )