2021-02-21 05:44:59 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2021-02-21 05:47:51 +00:00
|
|
|
set +xe
|
|
|
|
|
2021-02-21 05:44:59 +00:00
|
|
|
OZSH_HOME=$HOME/.ozsh
|
|
|
|
|
|
|
|
# clone the repo
|
|
|
|
git clone https://git.quacker.org/d/ozsh $OZSH_HOME/
|
|
|
|
|
|
|
|
# pull submodules
|
2021-02-21 05:47:51 +00:00
|
|
|
git -C $OZSH_HOME submodule update --init --recursive
|
2021-02-21 05:44:59 +00:00
|
|
|
|
|
|
|
# link .zshrc
|
|
|
|
ln -s $OZSH_HOME/.zshrc $HOME/.zshrc
|
|
|
|
|