Commit 2b59d052 authored by Marc Cornellà's avatar Marc Cornellà
Browse files

composer: autoload cache functions

Fixes #9236
parent 4ec055b8
...@@ -51,6 +51,8 @@ alias cget='curl -s https://getcomposer.org/installer | php' ...@@ -51,6 +51,8 @@ alias cget='curl -s https://getcomposer.org/installer | php'
# Add Composer's global binaries to PATH, using Composer if available. # Add Composer's global binaries to PATH, using Composer if available.
if (( $+commands[composer] )); then if (( $+commands[composer] )); then
autoload -Uz _store_cache _retrieve_cache
_retrieve_cache composer _retrieve_cache composer
if [[ -z $__composer_bin_dir ]]; then if [[ -z $__composer_bin_dir ]]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment