Browse Source

Merge pull request #3892 from delphiki/sf2-plugin

Added environment based shortcuts in symfony2 plugin
Marc Cornellà 8 years ago
parent
commit
dfccac312c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      plugins/symfony2/symfony2.plugin.zsh

+ 2 - 0
plugins/symfony2/symfony2.plugin.zsh

@@ -25,3 +25,5 @@ alias sfcw='sf cache:warmup'
 alias sfroute='sf router:debug'
 alias sfroute='sf router:debug'
 alias sfcontainer='sf container:debug'
 alias sfcontainer='sf container:debug'
 alias sfgb='sf generate:bundle'
 alias sfgb='sf generate:bundle'
+alias sfdev='sf --env=dev'
+alias sfprod='sf --env=prod'