20 lines
456 B
Plaintext
20 lines
456 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
[ -d .zprezto ] && firstRun=1
|
||
|
|
||
|
echo "Getting prezto"
|
||
|
cd zsh
|
||
|
git submodule init
|
||
|
git submodule update
|
||
|
|
||
|
echo "Updating .dotfiles/zsh/.zprezto"
|
||
|
cd .zprezto
|
||
|
if [ $firstRun -eq 1 ]
|
||
|
then
|
||
|
git remote set-url origin http://adamgoldsmith.name/cgit/prezto.git
|
||
|
git remote set-url --push origin ssh://adamgoldsmith.name:443/srv/git/prezto.git
|
||
|
git remote add upstream https://github.com/sorin-ionescu/prezto.git
|
||
|
fi
|
||
|
git submodule init
|
||
|
git submodule update
|