composer: autoload cache functions

Fixes #9236
This commit is contained in:
Marc Cornellà 2020-09-29 12:06:21 +02:00
parent 4ec055b890
commit 2b59d052ef
1 changed files with 2 additions and 0 deletions

View File

@ -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