From 63b336243fdf5e60058472fa456ed11e75280189 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 21 Jan 2004 13:53:28 +0000 Subject: 19387: add (-.) glob qualifier to globs where only files are directly applicable --- Completion/Zsh/Command/_autoload | 2 +- Completion/Zsh/Command/_mere | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/Zsh') 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(-.)' -- cgit 1.4.1