Easily copying parameters.yml.dist to parameters.yml
I was getting a bit bored of having to type the following when installing a Symfony2 app for the first time:
cp app/config/parameters.yml.dist app/config/parameters.yml
Thankfully my colleague Aurelien introduced us to this trick:
cp app/config/parameters.yml{.dist,}
which does the same thing, but in a much nicer way :) Tested on Ubuntu and OSX.
Written by Craig Marvelley
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Symfony2
Authors
Related Tags
#symfony2
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#