fix (( $+functions[_f] )) || _f()

checked with: "\(\( \$\+functions\[(.*)\] \)\) \|\|\n(?!\1)"
This commit is contained in:
Ludovic Jozeau 2021-04-08 15:50:39 +02:00
parent f0c856912c
commit 98cb234270
No known key found for this signature in database
GPG Key ID: 881AEC6AAD9BEA6C
3 changed files with 3 additions and 3 deletions

View File

@ -483,7 +483,7 @@ _conan_conanfiles() {
_files -g '*.py'
}
(( $+functions[_conan_directory_or_package_references] )) ||
(( $+functions[_conan_conanfiles_or_package_references] )) ||
_conan_conanfiles_or_package_references() {
_alternative \
'conanfile: :_conan_conanfiles' \

View File

@ -375,7 +375,7 @@ _arguments -C -A "-*" \
}
(( $+functions[root_commands] )) ||
(( $+functions[_root_commands] )) ||
_root_commands() {
local commands;
commands=(

View File

@ -75,7 +75,7 @@ _get_filters() {
}
(( $+functions[_pygmentize_get_formatters] )) ||
(( $+functions[_get_formatters] )) ||
_get_formatters() {
local cache_policy
zstyle -s ":completion:${curcontext}:" cache-policy cache_policy