summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_mh
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_mh')
-rw-r--r--Completion/Unix/Command/_mh4
1 files changed, 2 insertions, 2 deletions
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