From 45e6b554257e7810069133722a88d0657186c993 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 22 Nov 1999 23:56:17 +0000 Subject: manual/8738 --- Completion/Builtins/_vars | 2 -- Completion/User/_make | 12 ++++++------ Doc/Zsh/compsys.yo | 6 ------ 3 files changed, 6 insertions(+), 14 deletions(-) diff --git a/Completion/Builtins/_vars b/Completion/Builtins/_vars index 2b4749fcd..2758f3de2 100644 --- a/Completion/Builtins/_vars +++ b/Completion/Builtins/_vars @@ -22,5 +22,3 @@ if [[ $PREFIX = *\[* ]]; then else _tags parameters && _parameters fi - - diff --git a/Completion/User/_make b/Completion/User/_make index 2e967e64e..99adb7133 100644 --- a/Completion/User/_make +++ b/Completion/User/_make @@ -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 */ || /^\.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 */ || /^\.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 diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index b7ab37163..b5a75007c 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -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 -- cgit 1.4.1