clone zprezto through https
authorAmin Bandali <me@aminb.org>
Mon, 23 Mar 2015 03:23:51 +0000 (23:23 -0400)
committerAmin Bandali <me@aminb.org>
Mon, 23 Mar 2015 03:23:51 +0000 (23:23 -0400)
but change remote url to ssh afterwards

other/zsh/setup.sh

index 809d013..4579d7c 100755 (executable)
@@ -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