Fixed command autocomplete for Symfony 2.6.x

This commit is contained in:
Ion Marusic 2014-12-02 20:10:47 +02:00
parent 43aa3783f8
commit 011f25d492

View File

@ -5,7 +5,7 @@ _symfony_console () {
}
_symfony2_get_command_list () {
`_symfony_console` --no-ansi | sed "1,/Available commands/d" | awk '/^ [a-z]+/ { print $1 }'
`_symfony_console` --no-ansi | sed "1,/Available commands/d" | awk '/^ ?[a-z]+/ { print $1 }'
}
_symfony2 () {