diff options
author | Robby Russell <robby@planetargon.com> | 2015-02-18 15:04:24 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2015-02-18 15:04:24 -0800 |
commit | 84a318be87c86416cb122dfa1167c82b9a11f6ed (patch) | |
tree | eeb52edeb64d7fc623807815ff20f8122a7e2117 | |
parent | 5b429b6e48c6380e15362b7410851a0ed52e3776 (diff) | |
parent | 8b5950b812b56a652ce1101f8d4adc569e516160 (diff) | |
download | zsh-84a318be87c86416cb122dfa1167c82b9a11f6ed.tar.gz zsh-84a318be87c86416cb122dfa1167c82b9a11f6ed.tar.bz2 zsh-84a318be87c86416cb122dfa1167c82b9a11f6ed.zip |
Merge pull request #3590 from voronkovich/master
Fix composer completion: "\s" is a gawk-specific regexp operator.
-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 7f70e3d72..86f5be3d0 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 () { - $_comp_command1 --no-ansi | sed "1,/Available commands/d" | awk '/^\s*[a-z]+/ { print $1 }' + $_comp_command1 --no-ansi | sed "1,/Available commands/d" | awk '/^[ \t]*[a-z]+/ { print $1 }' } _composer_get_required_list () { |