3 Now you can copy your dotfiles into your vagrant box, so that you don't feel like visiting Mars whenever you are in vagrant shell.
7 It is a simple 3 step process
9 ### Add gem in your vagrant
11 $ vagrant gem install copy_my_conf
13 ### Add provisioner in your Vagrantfile
15 Add these lines in your vagrant file inside the `Vagrant::Config.run` block
17 config.vm.provision CopyMyConf do |copy_conf|
23 Don't worry if you have any other provisioners, vagrant can work with multiple provisioners. Yay \o/
24 As you might have guessed, If you make any of these false, the corresponding files won't be copied
26 If home directory of the user is not `/home/vagrant` then you can specify that using the `user_home` option in above code
28 copy_conf.user_home = '/home/some_other_user'
34 And you'll be good to go.
37 This is my first gem so any kind of feedback would be appreciated.
38 Feel free fork, edit and send pull requests.
40 ## Copyrights & Author
42 Copyright(c) 2013 Akshay Mankar <itsakshaymankar@gmail.com>
43 License: [MIT License](http://mit-license.org/)