Skip to content

Instantly share code, notes, and snippets.

@sudar
Last active November 1, 2018 11:01
Show Gist options
  • Save sudar/79a9ac1f77ec897f5426 to your computer and use it in GitHub Desktop.
Save sudar/79a9ac1f77ec897f5426 to your computer and use it in GitHub Desktop.
Mapping plugin folder in VVV using shared folders. Details at http://sudarmuthu.com/blog/mapping-plugin-folder-in-vvv-using-shared-folders/
config.vm.provider "virtualbox" do |v|
v.memory = 2048
end
config.vm.synced_folder "/Users/sudar/Dropbox/plugins/", "/srv/www/wordpress-default/wp-content/plugins", :owner => "www-data", :mount_options => [ "dmode=775", "fmode=774" ]
config.vm.synced_folder "/Users/sudar/Dropbox/plugins/", "/srv/www/wordpress-develop/wp-content/plugins", :owner => "www-data", :mount_options => [ "dmode=775", "fmode=774" ]
config.vm.synced_folder "/Users/sudar/Dropbox/plugins/", "/srv/www/wordpress-trunk/wp-content/plugins", :owner => "www-data", :mount_options => [ "dmode=775", "fmode=774" ]
$ tree -L 1 www
www
├── default
├── phpcs
├── vvv-hosts
├── wordpress-default
├── wordpress-develop
├── wordpress-trunk
└── wp-cli
@edvind
Copy link

edvind commented Nov 1, 2018

@sudar curious about this tree command you're using, how does that bash script look like?

http://mama.indstate.edu/users/ice/tree/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment