84a318be87c86416cb122dfa1167c82b9a11f6ed

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #3590 from voronkovich/master

Fix composer completion: "\s" is a gawk-specific regexp operator.

Diff

 1diff --git a/plugins/composer/composer.plugin.zsh b/plugins/composer/composer.plugin.zsh
 2index 7f70e3d7267ea9ff6a37b70846bfaf04b41df193..86f5be3d03c7d99b3a151b62102d5c447d9c4c1f 100644
 3--- a/plugins/composer/composer.plugin.zsh
 4+++ b/plugins/composer/composer.plugin.zsh
 5@@ -7,7 +7,7 @@
 6 
 7 # Composer basic command completion
 8 _composer_get_command_list () {
 9-    $_comp_command1 --no-ansi | sed "1,/Available commands/d" | awk '/^\s*[a-z]+/ { print $1 }'
10+    $_comp_command1 --no-ansi | sed "1,/Available commands/d" | awk '/^[ \t]*[a-z]+/ { print $1 }'
11 }
12 
13 _composer_get_required_list () {