Skip to content

Instantly share code, notes, and snippets.

@zangxc
zangxc / setup.sh
Last active March 23, 2022 23:04 — forked from bradp/setup.sh
New Mac Setup Script
FILE=~/.ssh/id_rsa
if [ -f "$FILE" ]; then
echo "$FILE exists. Skipping ssh key creation."
else
echo "Creating an SSH key for you..."
ssh-keygen -t rsa -b 4096
fi
echo "Please add this public key to Github \n"
echo "https://github.com/account/ssh \n"