From 98cb234270905152c3ca43065296611a358c7bae Mon Sep 17 00:00:00 2001 From: Ludovic Jozeau Date: Thu, 8 Apr 2021 15:50:39 +0200 Subject: [PATCH] fix (( $+functions[_f] )) || _f() checked with: "\(\( \$\+functions\[(.*)\] \)\) \|\|\n(?!\1)" --- src/_conan | 2 +- src/_flutter | 2 +- src/_pygmentize | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/_conan b/src/_conan index a9214de..aa29915 100644 --- a/src/_conan +++ b/src/_conan @@ -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' \ diff --git a/src/_flutter b/src/_flutter index a2ba6c4..792b26a 100644 --- a/src/_flutter +++ b/src/_flutter @@ -375,7 +375,7 @@ _arguments -C -A "-*" \ } -(( $+functions[root_commands] )) || +(( $+functions[_root_commands] )) || _root_commands() { local commands; commands=( diff --git a/src/_pygmentize b/src/_pygmentize index bc62304..c2fbcfd 100644 --- a/src/_pygmentize +++ b/src/_pygmentize @@ -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