Commit 0cc3afe2 authored by Julien Pepy's avatar Julien Pepy Committed by Marc Cornellà
Browse files

Fix get command list for recent composer versions

parent 13e5afe8
......@@ -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 () {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment