Skip to content

Instantly share code, notes, and snippets.

@mwpher
Last active March 2, 2016 18:21
Show Gist options
  • Save mwpher/c1eb0d136a3407a15ce0 to your computer and use it in GitHub Desktop.
Save mwpher/c1eb0d136a3407a15ce0 to your computer and use it in GitHub Desktop.
#!/bin/sh
# **Requires**: *Bash, Git, Tmux, Zsh, Vim*
cd;
git clone --recursive git@github.com:mwpher/dotfiles;
git config --global user.name "Matthew Pherigo";
git config --global user.email hybrid120@gmail.com;
git config --global push.default simple;
ln -s dotfiles/zshrc .zshrc;
ln -s dotfiles/tmux.conf .tmux.conf;
ln -s dotfiles/dotvim/ .vim;
cd dotfiles;
git submodule foreach git checkout master;
echo "Don't forget to add authorized_keys and sudo options!"
# ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACcgDc9awPdR6jnhjik3ylqWgvFVxoWb6cz4yI6/EdhIeyqeVsm6PKica7WoKQG68cHPhEJS3kll5HpxbNR1j3TBD8C++/nyP8vbUFe4pggjU3iamdPoqLtqGEiEuONeD+P8gx4KE7qth5SP6IX/uhtaHMZzexPnKOmZxqj6x4JL2pjUKsRBCiVRsbrvaqjcEKApke9NKkP6c0ZWn0HmkQktS9ioI+9SrbGy8AFGNjfmqgdDIhC3575iF6ytIoJPALtSZYoyyGuubeIFippNMRiWl1RwlIZyblmzs1AsITirWAsthU8yIOcOp389Ib10lLzIBVjVZ1tF9inzzUjBv8wzFlS40vo1L+MtqBrwtMaPVFyWvNVorxhUnl60PKbU5O10eyr8cKlu1ImK9juNYnE//QpHyblmPAqm7x/yZ7puBxNcQrzK1j/9Z1bElbOWskDKvFa4aG/FZR9S/eFf3P/w40BwQUSsxCs2Jo+Mscv+IdUntyNFjxjxgF7cLbnnLjm9xnjEz67rrY9t1P91aG8MzpY6zKM0HBt0UVdC00ZtVJamLj3VYxJ2TTNb8XhF9OznUjbWtinnDKlRvv5a1PYkGAQL29+6hgkdPMS9eTWI3QaubaOtouv05LsQ4PAqTjKimv9trMpiFaL+pOv5PCqpgpQd1bu+jUhrLu5cwe/VbtPrsYg7O3e1jjYGNIAmgdTSpZjH4flOoItAD44Nh9ieJV4bH6g/GXHb2nuc//Ls76YyKx5mGkv51FugMZh0sz2np8A2WO+vY80S3xJW01dR/yC3PX4RucMKbXjAnyYkj5WYNZUQHWURngocZp/lCnwip/ hybrid120 at gmail dot comblah
# Sudo options:
# # Log all sudo activities:
# Defaults log_output
# Defaults!/usr/bin/sudoreplay !log_output
# Defaults!/usr/local/bin/sudoreplay !log_output
# Defaults!REBOOT !log_output
#
# # Make sudo RCS record real username
# Defaults>root !set_logname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment