1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 15:20:08 +00:00

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