Skip to content

Instantly share code, notes, and snippets.

@ianpegg
Created May 13, 2022 13:54
Show Gist options
  • Save ianpegg/bdc4f943d1c14844e68993939b1254f4 to your computer and use it in GitHub Desktop.
Save ianpegg/bdc4f943d1c14844e68993939b1254f4 to your computer and use it in GitHub Desktop.
Basic user customisation script for the Homestead virtual machine.
#!/bin/sh
# Set the default command line text editor:
sudo update-alternatives --set editor /usr/bin/vim.basic
# Set the default GIT push method:
git config --global push.default simple
# Set GIT user name and email in the global scope:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment