diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2004-01-21 13:53:28 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2004-01-21 13:53:28 +0000 |
commit | 63b336243fdf5e60058472fa456ed11e75280189 (patch) | |
tree | f101df4260c4cef5d32c63456ca98e23d6b54449 /Completion/Zsh/Command | |
parent | 1b530bf152e1ca8c9c135c58a4753899d68db8e4 (diff) | |
download | zsh-63b336243fdf5e60058472fa456ed11e75280189.tar.gz zsh-63b336243fdf5e60058472fa456ed11e75280189.tar.xz zsh-63b336243fdf5e60058472fa456ed11e75280189.zip |
19387: add (-.) glob qualifier to globs where only files are directly applicable
Diffstat (limited to 'Completion/Zsh/Command')
-rw-r--r-- | Completion/Zsh/Command/_autoload | 2 | ||||
-rw-r--r-- | Completion/Zsh/Command/_mere | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Zsh/Command/_autoload b/Completion/Zsh/Command/_autoload index 81ded019a..50423d51a 100644 --- a/Completion/Zsh/Command/_autoload +++ b/Completion/Zsh/Command/_autoload @@ -4,7 +4,7 @@ local expl if (( $words[(I)[-+]*w*] )); then _description files expl 'zwc file' - _files "$expl[@]" -g '*.zwc' + _files "$expl[@]" -g '*.zwc(-.)' else _wanted functions expl 'shell function' compadd - ${^fpath}/*(:t) fi diff --git a/Completion/Zsh/Command/_mere b/Completion/Zsh/Command/_mere index 3dd27728b..bd051e9fa 100644 --- a/Completion/Zsh/Command/_mere +++ b/Completion/Zsh/Command/_mere @@ -1,3 +1,3 @@ #compdef mere -_files -g '*.[1-9]([a-z]|) *.man' +_files -g '*.[1-9]([a-z]|)(-.) *.man(-.)' |