Update hosts file for Laravel Homestead via Terminal

While playing around with Homestead, Laravel’s pre-packaged Vagrant virtual machine, the documentation suggests that when you edit Homestead.yaml and re-provision the vm,  you should manually edit the /etc/hosts file. I found that it doesn’t take advantage of the Vagrant Hostsupdater plugin. To (micro-)optimize my workflow, I’ve added a function to my .bash_profile: Now I can type hup… More