Skip to content

Instantly share code, notes, and snippets.

@prat0318
Last active August 5, 2019 20:41
Show Gist options
  • Save prat0318/c375353b99e385bab846489d95c41518 to your computer and use it in GitHub Desktop.
Save prat0318/c375353b99e385bab846489d95c41518 to your computer and use it in GitHub Desktop.
New machine setup

update

sudo apt-get update

install vim / git / zsh

sudo apt-get install -y git vim zsh

change shell to zsh

chsh -s $(which zsh)

to know your external IP

curl ifconfig.me

generate keygen to add in github

ssh-keygen -t rsa -b 4096 -C "prat0318@gmail.com"

check ssh-agent is running

eval "$(ssh-agent -s)"

cat ~/.ssh/id_rsa.pub

git clone zsh and dotfiles

git clone git@github.com:prat0318/oh-my-zsh.git .oh-my-zsh
git clone git@github.com:prat0318/dotfiles.git .dotfiles

install dotfiles

cd .dotfiles && script/bootstrap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment