1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-24 17:21:08 +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 else
_tags parameters && _parameters _tags parameters && _parameters
fi fi

View file

@ -18,11 +18,11 @@ else
file='' file=''
fi fi
[[ -n "$file" ]] && _wanted targets expl 'make target' && [[ -n "$file" ]] && _wanted targets expl 'make target' &&
compadd "$expl[@]" - \ compadd "$expl[@]" - \
$(awk '/^[a-zA-Z0-9][^\/ \t]+:/ {print $1} $(awk '/^[a-zA-Z0-9][^\/ \t]+:/ {print $1}
/^\.include *<bsd\.port\.(subdir\.|pre\.)?mk>/ || /^\.include *".*mk\/bsd\.pkg\.(subdir\.)?mk"/ { /^\.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" }' \ print "fetch fetch-list extract patch configure build install reinstall deinstall package describe checkpatch checksum makesum" }' \
FS=: $file) && ret=0 FS=: $file) && ret=0
(( ret )) && { compset -P 1 '*\='; _files } (( ret )) && { compset -P 1 '*\='; _files }
fi 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 name. This allows the use of the `tt(-s)' option to describe
single-letter options together with such long option names. 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 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 taken as the name of an array and its elements will be given to
functions called to generate matches when executing the functions called to generate matches when executing the