Fix Composer brackets in global bin directory

This commit is contained in:
Rob Loach 2017-09-18 08:04:37 -04:00 committed by GitHub
parent 14043e73a8
commit 2d7faf5516

View File

@ -53,7 +53,7 @@ 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 hash composer 2>/dev/null; then if hash composer 2>/dev/null; then
export PATH=$PATH:$(composer global config bin-dir --absolute) 2>/dev/null export PATH=$PATH:$(composer global config bin-dir --absolute 2>/dev/null)
else else
export PATH=$PATH:~/.composer/vendor/bin export PATH=$PATH:~/.composer/vendor/bin
export PATH=$PATH:~/.config/composer/vendor/bin export PATH=$PATH:~/.config/composer/vendor/bin