diff --git a/plugins/symfony2/symfony2.plugin.zsh b/plugins/symfony2/symfony2.plugin.zsh index c2a1affa..9347dbd2 100644 --- a/plugins/symfony2/symfony2.plugin.zsh +++ b/plugins/symfony2/symfony2.plugin.zsh @@ -20,10 +20,21 @@ compdef _symfony2 sf #Alias alias sf='`_symfony_console`' alias sfcl='sf cache:clear' +alias sfai='sf assets:install' alias sfsr='sf server:run -vvv' +alias sfsc='sf security:check' alias sfcw='sf cache:warmup' alias sfroute='sf debug:router' alias sfcontainer='sf debug:container' alias sfgb='sf generate:bundle' +alias sfgc='sf generate:controller' alias sfdev='sf --env=dev' alias sfprod='sf --env=prod' +#Doctrine alias +alias sfge='sf doctrine:generate:entity' +alias sfdc='sf doctrine:database:create' +alias sfdd='sf doctrine:database:drop --force' +alias sfsc='sf doctrine:schema:create' +alias sfsu='sf doctrine:schema:update' +#Need DoctrineFixturesBundle +alias sffixtures='sf doctrine:fixtures:load'