diff options
author | Oleg Voronkovich <oleg-voronkovich@yandex.ru> | 2015-02-15 19:12:51 +0300 |
---|---|---|
committer | Oleg Voronkovich <oleg-voronkovich@yandex.ru> | 2015-02-17 01:24:21 +0300 |
commit | 8b5950b812b56a652ce1101f8d4adc569e516160 (patch) | |
tree | 1b5a47ef5f3ce4adf79dd529d1d2b5438390d764 | |
parent | 5ee54032da9e5f9c5bd96dae877fbf6e08ad7af6 (diff) | |
download | zsh-8b5950b812b56a652ce1101f8d4adc569e516160.tar.gz zsh-8b5950b812b56a652ce1101f8d4adc569e516160.tar.bz2 zsh-8b5950b812b56a652ce1101f8d4adc569e516160.zip |
Fix: "\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 () { |