8b5950b812b56a652ce1101f8d4adc569e516160
- Author
- Oleg Voronkovich <oleg-voronkovich@yandex.ru>
- Committer
- Oleg Voronkovich <oleg-voronkovich@yandex.ru>
- Date
Message
Fix: "\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 () {