Update 'setup.sh'
This commit is contained in:
parent
2b4cfaf737
commit
589383a421
5
setup.sh
5
setup.sh
@ -5,11 +5,14 @@ set +xe
|
|||||||
OZSH_HOME=$HOME/.ozsh
|
OZSH_HOME=$HOME/.ozsh
|
||||||
|
|
||||||
# clone the repo
|
# clone the repo
|
||||||
git clone https://git.quacker.org/d/ozsh $OZSH_HOME/
|
if [ ! -d "$OZSH_HOME" ]; then
|
||||||
|
git clone https://git.quacker.org/d/ozsh $OZSH_HOME/
|
||||||
|
fi
|
||||||
|
|
||||||
# pull submodules
|
# pull submodules
|
||||||
git -C $OZSH_HOME submodule update --init --recursive
|
git -C $OZSH_HOME submodule update --init --recursive
|
||||||
|
|
||||||
# link .zshrc
|
# link .zshrc
|
||||||
|
rm -f $HOME/.zshrc
|
||||||
ln -s $OZSH_HOME/.zshrc $HOME/.zshrc
|
ln -s $OZSH_HOME/.zshrc $HOME/.zshrc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user