From: Amin Bandali Date: Mon, 23 Mar 2015 03:23:51 +0000 (-0400) Subject: clone zprezto through https X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/d38af4f4e2330e3f0943f8c999c7af16f15e4748 clone zprezto through https but change remote url to ssh afterwards --- diff --git a/other/zsh/setup.sh b/other/zsh/setup.sh index 809d013..4579d7c 100755 --- a/other/zsh/setup.sh +++ b/other/zsh/setup.sh @@ -1,7 +1,9 @@ #! /bin/zsh # clone my prezto fork -git clone --recursive git@github.com:aminb/prezto.git $HOME/.zprezto +git clone --recursive https://github.com/aminb/prezto.git $HOME/.zprezto +cd .zprezto +git remote set-url origin git@github.com:aminb/prezto.git # setup the symlinks setopt EXTENDED_GLOB