Add PRESTOW to get/update prezto
This commit is contained in:
parent
aab73ba6b7
commit
fda8113e89
19
PRESTOW
Executable file
19
PRESTOW
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#!/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
|
Loading…
Reference in New Issue
Block a user