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:
parent
8611aa8049
commit
4fba92e04f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user