Symfony2 plugin look for files only

This commit is contained in:
Philipp Wahala 2014-09-03 11:36:22 +02:00
parent ed6c2c9106
commit 677d8b1a21

View File

@ -1,7 +1,7 @@
# Symfony2 basic command completion # Symfony2 basic command completion
_symfony_console () { _symfony_console () {
echo "php $(find . -maxdepth 2 -mindepth 1 -name 'console' | head -n 1)" echo "php $(find . -maxdepth 2 -mindepth 1 -name 'console' -type f | head -n 1)"
} }
_symfony2_get_command_list () { _symfony2_get_command_list () {