Modify PRESTOW to use ZIM

This commit is contained in:
Adam Goldsmith 2016-02-11 11:02:07 -05:00
parent 5371a9e12b
commit 47ffc993be

18
PRESTOW
View File

@ -1,19 +1,17 @@
#!/bin/bash #!/bin/bash
[ -d .zprezto ] && firstRun=1 [ -d .zim ] && firstRun=1
echo "Getting prezto" echo "Getting zim"
cd zsh git submodule update --init --recursive
git submodule init
git submodule update
echo "Updating .dotfiles/zsh/.zprezto" echo "Updating .dotfiles/zsh/.zim"
cd .zprezto cd .zim
if [ $firstRun -eq 1 ] if [ $firstRun -eq 1 ]
then then
git remote set-url origin http://adamgoldsmith.name/cgit/prezto.git git remote set-url origin "http://adamgoldsmith.name/cgit/zim.git"
git remote set-url --push origin ssh://adamgoldsmith.name:443/srv/git/prezto.git git remote set-url --push origin "ag:/srv/git/zim.git"
git remote add upstream https://github.com/sorin-ionescu/prezto.git git remote add upstream "https://github.com/Eriner/zim.git"
fi fi
git submodule init git submodule init
git submodule update git submodule update