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/Unix/Command/_mh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/Unix/Command/_mh') diff --git a/Completion/Unix/Command/_mh b/Completion/Unix/Command/_mh index 6f965ce4f..5e5245441 100644 --- a/Completion/Unix/Command/_mh +++ b/Completion/Unix/Command/_mh @@ -49,7 +49,7 @@ elif [[ "$prev" = -(form|audit|filter) ]]; then mhlib=${${$(mhparam mhlproc 2>/dev/null):h}:-/usr/lib/mh} mhfpath=($mymhdir $mhlib) - _wanted files expl 'MH template file' _files -W mhfpath -g '*(.)' + _wanted files expl 'MH template file' _files -W mhfpath -g '*(-.)' elif [[ $service = mhmail ]]; then _email_addresses elif [[ "$prev" = -(no|)cc ]]; then @@ -83,7 +83,7 @@ else compadd "$expl[@]" $(mark $foldnam 2>/dev/null | awk -F: '{ print $1 }') && ret=0 compadd "$expl[@]" reply next cur prev first last all unseen && ret=0 - _path_files "$expl[@]" -W folddir -g '<->' && ret=0 + _path_files "$expl[@]" -W folddir -g '<->(-.)' && ret=0 done (( ret )) || return 0 done -- cgit 1.4.1