/settop

Set[up Lap]top script

Primary LanguageShell

Settop a.k.a Set[up Lap]top

This is a script for setting up my laptop. It works in conjunction with my dotfiles repo

Download the project

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

Github setup

  1. 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.

  2. Add the key to Github

Setup laptop

  1. Run the settop script
$ sh ~/settop/settop.sh

Helpful resources used while making this