Skip to content

Instantly share code, notes, and snippets.

@TheRatG
Last active April 21, 2018 09:35
Show Gist options
  • Save TheRatG/5f4fe961d052799103fa83367b34da2b to your computer and use it in GitHub Desktop.
Save TheRatG/5f4fe961d052799103fa83367b34da2b to your computer and use it in GitHub Desktop.
Homestead Enhancement

Enhancement

  • usefull vagrant plugins
vagrant plugin install vagrant-vbguest vagrant-bindfs vagrant-hostsupdater
  • update after.sh
# after.sh
git config --global user.email [email protected]
git config --global user.name "your name"

sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get -y upgrade

sudo locale-gen "en_US.UTF-8"
sudo dpkg-reconfigure locales

git config --global push.default simple
git config --global core.editor vim
echo -e ".idea\n.buildpath\n.project\n.settings\n.vagrant/machines\n.DS_Store\nnbproject\n.thumbs" > ~/.gitignore
git config --global core.excludesfile '~/.gitignore'
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.st status
git config --global alias.hist "log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short"
git config --global alias.type 'cat-file -t'
git config --global alias.dump 'cat-file -p'

wget -q -O ~/git-completion.bash https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo npm install -g npm
sudo npm install -g yarn
  • in box edit /etc/ssh/ssh_config and comment out SendEnv LANG LC_*line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment