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

plugin symfony2 sf2.7 compatibility fix

with symfony 2.7 command group titles are listed as commands. this commit prevents it.
This commit is contained in:
fgibaux 2015-08-18 14:19:40 +02:00
parent 192de6bcff
commit a9daea17d8

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 '/^ ?[^ ]+ / { print $1 }'
}
_symfony2 () {