20 lines
456 B
Bash
Executable File
20 lines
456 B
Bash
Executable File
#!/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
|