Skip to content

Instantly share code, notes, and snippets.

@QuantumFractal
Created November 2, 2016 17:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save QuantumFractal/eebafe53a8c8ea0cfeb93040da4b781e to your computer and use it in GitHub Desktop.
Save QuantumFractal/eebafe53a8c8ea0cfeb93040da4b781e to your computer and use it in GitHub Desktop.
echo "Setting up Tom's environment please wait..."
eval $(ssh-agent -s)
echo "Setting ssh key..."
ssh-add ~/.ssh/quanta
echo "Finished!"
echo "Setting git settingss..."
git config --global user.name "Tom"
git config --global user.email "quanta@iastate.edu"
echo "Finished!"
echo "Successfully setup user tom!"
alias deactivate="git config --global --unset user.name ; git config --global --unset user.email; ssh-add -d ~/.ssh/quanta; echo \"Deactivated Tom's Environment. BYE!\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment