Skip to content

Commit

Permalink
github last
Browse files Browse the repository at this point in the history
  • Loading branch information
pathikrit authored Dec 8, 2023
1 parent 2a3732e commit b860a4d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/'
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit b860a4d

Please sign in to comment.