Use proper config bin directory (#5886)

Add the proper config bin directory to `PATH` instead of the previously (incorrect) fixed `~/.composer/vendor/bin`. Nowadays the right config dir is `~/.config/composer/vendor/bin`.
This commit is contained in:
Ricardo Pérez 2017-02-23 08:52:23 +01:00 committed by Robby Russell
parent 8611aa8049
commit 4fba92e04f
1 changed files with 1 additions and 1 deletions

View File

@ -52,4 +52,4 @@ alias cgrm='composer global remove'
alias cget='curl -s https://getcomposer.org/installer | php'
# Add Composer's global binaries to PATH
export PATH=$PATH:~/.composer/vendor/bin
export PATH=$PATH:$(composer global config bin-dir --absolute) 2>/dev/null