diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-22 01:05:46 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-22 01:05:46 +0000 |
commit | 44cd8ebe74451e0bb6fec83c723c168c4084d9b8 (patch) | |
tree | 3b334a0fffb74160b85ac89ce9970975fb2e087b /Completion | |
parent | 9963a4294c6ca5b4ae4640c0865d437eaf756ed5 (diff) | |
download | zsh-44cd8ebe74451e0bb6fec83c723c168c4084d9b8.tar.gz zsh-44cd8ebe74451e0bb6fec83c723c168c4084d9b8.tar.xz zsh-44cd8ebe74451e0bb6fec83c723c168c4084d9b8.zip |
zsh-3.1.6-pws-9 zsh-3.1.6-pws-9
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Builtins/_vars | 2 | ||||
-rw-r--r-- | Completion/Core/compinit | 2 | ||||
-rw-r--r-- | Completion/User/_make | 12 |
3 files changed, 9 insertions, 7 deletions
diff --git a/Completion/Builtins/_vars b/Completion/Builtins/_vars index 2758f3de2..2b4749fcd 100644 --- a/Completion/Builtins/_vars +++ b/Completion/Builtins/_vars @@ -22,3 +22,5 @@ if [[ $PREFIX = *\[* ]]; then else _tags parameters && _parameters fi + + diff --git a/Completion/Core/compinit b/Completion/Core/compinit index 2f69f26c9..34967f8e3 100644 --- a/Completion/Core/compinit +++ b/Completion/Core/compinit @@ -106,7 +106,7 @@ comppostfuncs=() # Loading it now ensures that the `funcstack' parameter is always correct. -zmodload -i parameter +: $funcstack # This function is used to register or delete completion functions. For # registering completion functions, it is invoked with the name of the diff --git a/Completion/User/_make b/Completion/User/_make index 1531b34d6..2e967e64e 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 *<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 |