diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-05 13:38:45 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-05 13:38:45 +0000 |
commit | 9f9b6e165516c4ee59b1f5b609a6890ccc3d598f (patch) | |
tree | 86460ad1a9886e6030fc1b1d1aee57668f28aa01 /Completion/User/_finger | |
parent | 04118530d4157d3494349e2628246b78465e08f8 (diff) | |
download | zsh-9f9b6e165516c4ee59b1f5b609a6890ccc3d598f.tar.gz zsh-9f9b6e165516c4ee59b1f5b609a6890ccc3d598f.tar.xz zsh-9f9b6e165516c4ee59b1f5b609a6890ccc3d598f.zip |
completion function cleanup for `_arguments' with the `-C' option and using it's return value (11195)
Diffstat (limited to 'Completion/User/_finger')
-rw-r--r-- | Completion/User/_finger | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/User/_finger b/Completion/User/_finger index 9b5760be7..c5787571c 100644 --- a/Completion/User/_finger +++ b/Completion/User/_finger @@ -4,7 +4,7 @@ local curcontext="$curcontext" state line typeset -A opt_args if (( ! $+_finger_args )); then - local help="$(finger -\? 2>&1)" + local help="$(_call options finger -\? 2>&1)" local -A optionmap ## `finger -\?': @@ -69,7 +69,7 @@ if (( ! $+_finger_args )); then fi fi -_arguments -C -s $_finger_args '*:finger targets:->finger-targets' +_arguments -C -s $_finger_args '*:finger targets:->finger-targets' && return 0 case "$state" in finger-targets) |