fix (( $+functions[_f] )) || _f()
checked with: "\(\( \$\+functions\[(.*)\] \)\) \|\|\n(?!\1)"
This commit is contained in:
parent
f0c856912c
commit
98cb234270
|
@ -483,7 +483,7 @@ _conan_conanfiles() {
|
||||||
_files -g '*.py'
|
_files -g '*.py'
|
||||||
}
|
}
|
||||||
|
|
||||||
(( $+functions[_conan_directory_or_package_references] )) ||
|
(( $+functions[_conan_conanfiles_or_package_references] )) ||
|
||||||
_conan_conanfiles_or_package_references() {
|
_conan_conanfiles_or_package_references() {
|
||||||
_alternative \
|
_alternative \
|
||||||
'conanfile: :_conan_conanfiles' \
|
'conanfile: :_conan_conanfiles' \
|
||||||
|
|
|
@ -375,7 +375,7 @@ _arguments -C -A "-*" \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
(( $+functions[root_commands] )) ||
|
(( $+functions[_root_commands] )) ||
|
||||||
_root_commands() {
|
_root_commands() {
|
||||||
local commands;
|
local commands;
|
||||||
commands=(
|
commands=(
|
||||||
|
|
|
@ -75,7 +75,7 @@ _get_filters() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
(( $+functions[_pygmentize_get_formatters] )) ||
|
(( $+functions[_get_formatters] )) ||
|
||||||
_get_formatters() {
|
_get_formatters() {
|
||||||
local cache_policy
|
local cache_policy
|
||||||
zstyle -s ":completion:${curcontext}:" cache-policy cache_policy
|
zstyle -s ":completion:${curcontext}:" cache-policy cache_policy
|
||||||
|
|
Loading…
Reference in New Issue