This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# new drupal vagrant install | |
# a function, when added to bash profile, clones the vagrant drupal-dev-vm (https://github.com/geerlingguy/drupal-dev-vm), | |
# augments config (based on d7 or d8), renames the vm to something other than drupalvm.dev and starts vagrant up. uses | |
# include <newd 7 my-drupal-site> and <newd 8 my-other-drupal-site>. | |
function newd { | |
if [ -z "$2" ]; then | |
echo 'usage: newd <version> <sitename>' | |