Fix get command list for recent composer versions

This commit is contained in:
Julien Pepy 2014-12-05 09:57:59 +01:00 committed by Marc Cornellà
parent 13e5afe805
commit 0cc3afe277

View File

@ -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 () {