diff options
| author | Oliver Kiddle <opk@zsh.org> | 2016-07-21 17:48:21 +0200 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2016-07-21 17:49:13 +0200 |
| commit | 82119d8d1723667ddc77d760d2be448beef7c972 (patch) | |
| tree | 1fca2a36c82e87a5b9cf5103309a263442827324 /Completion/Base/Core | |
| parent | 38894: completion for virt-admin and libvirt client/server IDs/names (diff) | |
| download | zsh-82119d8d1723667ddc77d760d2be448beef7c972.tar zsh-82119d8d1723667ddc77d760d2be448beef7c972.tar.gz zsh-82119d8d1723667ddc77d760d2be448beef7c972.tar.bz2 zsh-82119d8d1723667ddc77d760d2be448beef7c972.tar.lz zsh-82119d8d1723667ddc77d760d2be448beef7c972.tar.xz zsh-82119d8d1723667ddc77d760d2be448beef7c972.tar.zst zsh-82119d8d1723667ddc77d760d2be448beef7c972.zip | |
38904: fix return status in _normal and functions erroneously using it for default completion
Diffstat (limited to 'Completion/Base/Core')
| -rw-r--r-- | Completion/Base/Core/_normal | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Base/Core/_normal b/Completion/Base/Core/_normal index 539b3781f..dd607d2b2 100644 --- a/Completion/Base/Core/_normal +++ b/Completion/Base/Core/_normal @@ -30,9 +30,9 @@ if [[ CURRENT -eq 1 ]]; then curcontext="${curcontext%:*:*}:-command-:" comp="$_comps[-command-]" - [[ -n "$comp" ]] && eval "$comp" && ret=0 + [[ -n "$comp" ]] && eval "$comp" && return - return ret + return 1 fi _set_command |
