mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-17 16:00:19 +00:00
_eselect: fix function existance checking.
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
This commit is contained in:
+1
-1
@@ -228,7 +228,7 @@ _eselect() {
|
||||
fi
|
||||
else
|
||||
if (( $modnames[(I)$words[2]] )); then
|
||||
(whence _eselect_$words[2] &>/dev/null) && _eselect_$words[2] "$@"
|
||||
(( $+functions[_eselect_$words[2]] )) && _eselect_$words[2] "$@"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user