Use proper config bin directory

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-16 20:02:41 +01:00 committed by GitHub
commit ca9e06ff30

View file

@ -49,4 +49,4 @@ alias cgr='composer global require'
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