This is a script for setting up my laptop. It works in conjunction with my dotfiles repo
This is intended to be used on a brand new machine so you'll have to curl the project and unzip it.
$ curl -o ~/settop-master.zip -Lk https://github.com/ryanhedges/settop/archive/master.zip
$ unzip -j ~/settop-master.zip -d ~/settop
$ rm ~/settop-master.zip
-
Set up ssh key for github
$ source ~/settop/settop_ssh.sh
This will:
- Generates a ssh key
- Adds key to a ssh-agent.
- Copy contents of
id_rsa.pub
to your clipboard for pasting into GitHubs account settings.
If there is anything in the ssh directory, it will NOT generate a key. You may want to copy from your keys over from an existing computer if possible.
- Run the settop script
$ sh ~/settop/settop.sh