Emacs setup script: Use ssh when cloning

One should go over and modify the script themselves if they want to use
my stuff anyway. And if it was me using it I would 99.99% of the time
have ssh stuff setup so this should be fine.
This commit is contained in:
Hedy Li 2021-09-30 20:54:30 +08:00
parent 8a38366ac9
commit 0f73c62356
Signed by: hedy
GPG Key ID: B51B5A8D1B176372
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ if [[ $install_chemacs != "no" ]]; then
echo "> ${BLUE}Installing chemacs${RESET}"
mkdir ~/.emacs.d
cd ~/.emacs.d
git clone https://github.com/plexus/chemacs2 .
git clone git@github.com:plexus/chemacs2 .
fi
read -p "${BOLD}Run emacs? [y/N]${RESET} " run
if [[ $run == "y" ]]; then
@ -136,7 +136,7 @@ if [[ "$install_doom" != no ]]; then
echo "> ${BLUE}Installing doom${RESET}"
mkdir ~/.doomemacs
cd ~/.doomemacs
git clone https://github.com/hlissner/doom-emacs .
git clone git@github.com:hlissner/doom-emacs .
echo "${BLUE}Running doom sync${RESET}"
bin/doom sync