From b860a4d32efca41c5b7d7492c27737ac240c93f1 Mon Sep 17 00:00:00 2001 From: Pathikrit Bhowmick Date: Fri, 8 Dec 2023 09:51:52 -0500 Subject: [PATCH] github last --- install.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/install.sh b/install.sh index 0700b05..9ffac13 100755 --- a/install.sh +++ b/install.sh @@ -239,14 +239,6 @@ do git config --global "${config}" done -if [[ -z "${CI}" ]]; then - gpg --keyserver hkp://pgp.mit.edu --recv ${gpg_key} - echo "Export key to Github" - ssh-keygen -t rsa -b 4096 -C ${git_email} - pbcopy < ~/.ssh/id_rsa.pub - open https://github.com/settings/ssh/new -fi - echo "Setting up bash aliases ..." echo " alias del='mv -t ~/.Trash/' @@ -279,6 +271,14 @@ if [[ -z "${CI}" ]]; then mas list fi +if [[ -z "${CI}" ]]; then + gpg --keyserver hkp://pgp.mit.edu --recv ${gpg_key} + echo "Export key to Github" + ssh-keygen -t rsa -b 4096 -C ${git_email} + pbcopy < ~/.ssh/id_rsa.pub + open https://github.com/settings/ssh/new +fi + echo "Cleanup" brew cleanup