diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2002-07-26 13:54:37 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2002-07-26 13:54:37 +0000 |
commit | e5ccda3b9ce46d2122cb212a79aae0356d89f335 (patch) | |
tree | 124c970fdfcf33f01fdee2758c23e554fd1320f3 /Completion | |
parent | 9c152f0ebfd0875157221150b026607457a8be97 (diff) | |
download | zsh-e5ccda3b9ce46d2122cb212a79aae0356d89f335.tar.gz zsh-e5ccda3b9ce46d2122cb212a79aae0356d89f335.tar.xz zsh-e5ccda3b9ce46d2122cb212a79aae0356d89f335.zip |
17484: fix option check and add missing #autoload tag
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Unix/Command/_netcat | 2 | ||||
-rw-r--r-- | Completion/Unix/Type/_java_class | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_netcat b/Completion/Unix/Command/_netcat index 082b8afde..396fc8e09 100644 --- a/Completion/Unix/Command/_netcat +++ b/Completion/Unix/Command/_netcat @@ -8,7 +8,7 @@ typeset -A opt_args _nedit && return if (( ! $+_nc_args )); then - local help="$(_call_program options nc -h < /dev/null 2>&1)" + local help="$(_call_program options $words[1] -h < /dev/null 2>&1)" local -A optionmap optionmap=( '*-e prog*' '-e+[program to exec after connect]:prog:_command_names -e' diff --git a/Completion/Unix/Type/_java_class b/Completion/Unix/Type/_java_class index ffbcfe735..a89ceb3c0 100644 --- a/Completion/Unix/Type/_java_class +++ b/Completion/Unix/Type/_java_class @@ -1,3 +1,4 @@ +#autoload local classpath #Should probably add some sort of cache. #First use -classpath/-cp, then CLASSPATH, then assume . |