- Clone this repo
git clone https://github.com/jcottrell/dots.git
cd dots
chmod +x setup.sh
- Run either
./setup.sh --server
or./setup.sh --mac
depending on the system
sudo apt-get install vim
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/vim 200
sudo update-alternatives –config editor
sudo visudo
- Go to the end of the file
- Add
username ALL=(ALL) NOPASSWD: ALL
replaceusername
with your username
- From home machine's terminal
ssh-copy-id -i ./ssh/id_rsa.pub loginName@server.path