mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
Fix Composer brackets in global bin directory
This commit is contained in:
parent
14043e73a8
commit
2d7faf5516
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue