mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-01 18:30:55 +01:00
30199: add (-.) to many completion _files globs
This commit is contained in:
parent
32eb4faf7c
commit
c5fce37bce
28 changed files with 82 additions and 63 deletions
|
|
@ -157,7 +157,7 @@ case $state in
|
|||
_tags $tags
|
||||
while _tags; do
|
||||
if _requested files expl 'info file'; then
|
||||
_files "$expl[@]" $infopath -g '*.info' && ret=0
|
||||
_files "$expl[@]" $infopath -g '*.info(-.)' && ret=0
|
||||
fi
|
||||
if _requested items; then
|
||||
items=(${${(M)${${(f)"$(${info} --output - ${words[1,CURRENT-1]} 2>/dev/null)"}[1,(r)[[:space:]]#--- The Detailed Node Listing ---[[:space:]]#]}:#\* *~\* Menu:*}:/(#b)\*[[:space:]]##([^:]##):(#B)( \(?##\)[^.]#.|(:|))[[:space:]]#(#b)(*)[[:space:]]#/$match[1]${match[2]:+:}$match[2]})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue