1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-07 11:41:16 +02:00

manual/8738

This commit is contained in:
Tanaka Akira 1999-11-22 23:56:17 +00:00
parent abe6b42d1f
commit 45e6b55425
3 changed files with 6 additions and 14 deletions

View file

@ -22,5 +22,3 @@ if [[ $PREFIX = *\[* ]]; then
else
_tags parameters && _parameters
fi

View file

@ -18,11 +18,11 @@ else
file=''
fi
[[ -n "$file" ]] && _wanted targets expl 'make target' &&
compadd "$expl[@]" - \
$(awk '/^[a-zA-Z0-9][^\/ \t]+:/ {print $1}
/^\.include *<bsd\.port\.(subdir\.|pre\.)?mk>/ || /^\.include *".*mk\/bsd\.pkg\.(subdir\.)?mk"/ {
print "fetch fetch-list extract patch configure build install reinstall deinstall package describe checkpatch checksum makesum" }' \
FS=: $file) && ret=0
[[ -n "$file" ]] && _wanted targets expl 'make target' &&
compadd "$expl[@]" - \
$(awk '/^[a-zA-Z0-9][^\/ \t]+:/ {print $1}
/^\.include *<bsd\.port\.(subdir\.|pre\.)?mk>/ || /^\.include *".*mk\/bsd\.pkg\.(subdir\.)?mk"/ {
print "fetch fetch-list extract patch configure build install reinstall deinstall package describe checkpatch checksum makesum" }' \
FS=: $file) && ret=0
(( ret )) && { compset -P 1 '*\='; _files }
fi

View file

@ -2018,12 +2018,6 @@ letter. However, strings beginning with two hyphens (like
name. This allows the use of the `tt(-s)' option to describe
single-letter options together with such long option names.
Another option supported is `tt(-O) var(name)'. The var(name) will be
taken as the name of an array and its elements will be given to
functions called to generate matches when executing the
var(actions). For example, this allows one to give options for the
tt(compadd) builtin that should be used.
Another option supported is `tt(-O) var(name)'. The var(name) will be
taken as the name of an array and its elements will be given to
functions called to generate matches when executing the