diff options
author | Marc Cornellà <marc.cornella@live.com> | 2020-09-29 12:06:21 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2020-09-29 12:06:39 +0200 |
commit | 2b59d052ef34b9290f7951ce08cebae189bd9dde (patch) | |
tree | 73cf74138c2a686d5a00c03c62e2e7081406c90b /plugins/composer | |
parent | 4ec055b890dc52749f6f9f076aa5da24c3266c8d (diff) | |
download | zsh-2b59d052ef34b9290f7951ce08cebae189bd9dde.tar.gz zsh-2b59d052ef34b9290f7951ce08cebae189bd9dde.tar.bz2 zsh-2b59d052ef34b9290f7951ce08cebae189bd9dde.zip |
composer: autoload cache functions
Fixes #9236
Diffstat (limited to 'plugins/composer')
-rw-r--r-- | plugins/composer/composer.plugin.zsh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/composer/composer.plugin.zsh b/plugins/composer/composer.plugin.zsh index 330360cdd..75b03ffe7 100644 --- a/plugins/composer/composer.plugin.zsh +++ b/plugins/composer/composer.plugin.zsh @@ -51,6 +51,8 @@ alias cget='curl -s https://getcomposer.org/installer | php' # Add Composer's global binaries to PATH, using Composer if available. if (( $+commands[composer] )); then + autoload -Uz _store_cache _retrieve_cache + _retrieve_cache composer if [[ -z $__composer_bin_dir ]]; then |