1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-11 00:10:08 +00:00

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

View file

@ -52,4 +52,4 @@ alias cgrm='composer global remove'
alias cget='curl -s https://getcomposer.org/installer | php' alias cget='curl -s https://getcomposer.org/installer | php'
# Add Composer's global binaries to PATH # 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