robbyrussell/oh-my-zsh — pull request #1622 by hacfi (2013-02-22 16:07:36+00:00)
Title: Fix Symfony2 command completion 'permission denied'

app/console by default (if you create a new Symfony project via composer create-project or by downloading it from symfony.com) is not executable. Therefore I get the following error:

sf2 _symfony2_get_command_list:1: permission denied: app/console
_symfony2_get_command_list:1: permission denied: app/console
_symfony2_get_command_list:1: permission denied: app/console

To make command completion work without changing app/console you just have to let php run it.