diff options
author | Rob Loach <robloach@gmail.com> | 2018-08-19 15:46:22 -0400 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2018-08-19 21:46:22 +0200 |
commit | 0de3b29fd3fde0d5d95271cb076a12931ccee7d8 (patch) | |
tree | 5a0af4e0acf8d639acb66453f2a6e18426ed2a49 /plugins/encode64/encode64.plugin.zsh | |
parent | b743ce92249726fe444911213bf2ed55099158d3 (diff) | |
download | zsh-0de3b29fd3fde0d5d95271cb076a12931ccee7d8.tar.gz zsh-0de3b29fd3fde0d5d95271cb076a12931ccee7d8.tar.bz2 zsh-0de3b29fd3fde0d5d95271cb076a12931ccee7d8.zip |
composer: Fix bin directory when Composer is not available (#6240)
* Fix for Composer's bin when Composer isn't global
When Composer isn't globally installed, the `composer global` call results in an error. This checks to see if Composer is available before making the call. When Composer isn't available, it will just manually set the directories.
* Fix Composer brackets in global bin directory
* composer: Apply feedback from ricpelo
This applies ricpelo's feedback at https://github.com/robbyrussell/oh-my-zsh/pull/6240#pullrequestreview-64253321
* composer: Fix path check syntax
* composer: test with $commands[] syntax
Diffstat (limited to 'plugins/encode64/encode64.plugin.zsh')
0 files changed, 0 insertions, 0 deletions