Skip to content

Commit b860a4d

Browse files
authored
github last
1 parent 2a3732e commit b860a4d

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

install.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -239,14 +239,6 @@ do
239239
git config --global "${config}"
240240
done
241241

242-
if [[ -z "${CI}" ]]; then
243-
gpg --keyserver hkp://pgp.mit.edu --recv ${gpg_key}
244-
echo "Export key to Github"
245-
ssh-keygen -t rsa -b 4096 -C ${git_email}
246-
pbcopy < ~/.ssh/id_rsa.pub
247-
open https://github.com/settings/ssh/new
248-
fi
249-
250242
echo "Setting up bash aliases ..."
251243
echo "
252244
alias del='mv -t ~/.Trash/'
@@ -279,6 +271,14 @@ if [[ -z "${CI}" ]]; then
279271
mas list
280272
fi
281273

274+
if [[ -z "${CI}" ]]; then
275+
gpg --keyserver hkp://pgp.mit.edu --recv ${gpg_key}
276+
echo "Export key to Github"
277+
ssh-keygen -t rsa -b 4096 -C ${git_email}
278+
pbcopy < ~/.ssh/id_rsa.pub
279+
open https://github.com/settings/ssh/new
280+
fi
281+
282282
echo "Cleanup"
283283
brew cleanup
284284

0 commit comments

Comments
 (0)