zsh/PRESTOW

18 lines
399 B
Bash
Executable File

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