diff options
author | Julien Pepy <komuta@gmail.com> | 2014-12-05 09:57:59 +0100 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2015-02-10 19:32:59 +0100 |
commit | 0cc3afe27788e35d5f72236f41a7e4514c11491d (patch) | |
tree | ad514a3e80386ac19e47b1370d3bb614eefe0051 /plugins | |
parent | 13e5afe805f28749f4aa6a5e82272760a62ad573 (diff) | |
download | zsh-0cc3afe27788e35d5f72236f41a7e4514c11491d.tar.gz zsh-0cc3afe27788e35d5f72236f41a7e4514c11491d.tar.bz2 zsh-0cc3afe27788e35d5f72236f41a7e4514c11491d.zip |
Fix get command list for recent composer versions
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/composer/composer.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/composer/composer.plugin.zsh b/plugins/composer/composer.plugin.zsh index 86f2ca4df..f75119c4a 100644 --- a/plugins/composer/composer.plugin.zsh +++ b/plugins/composer/composer.plugin.zsh @@ -7,7 +7,7 @@ # Composer basic command completion _composer_get_command_list () { - composer --no-ansi | sed "1,/Available commands/d" | awk '/^ [a-z]+/ { print $1 }' + composer --no-ansi | sed "1,/Available commands/d" | awk '/^\s*[a-z]+/ { print $1 }' } _composer_get_required_list () { |