Update 'setup.sh'
This commit is contained in:
parent
589383a421
commit
3d57560602
6
setup.sh
6
setup.sh
@ -4,6 +4,9 @@ set +xe
|
|||||||
|
|
||||||
OZSH_HOME=$HOME/.ozsh
|
OZSH_HOME=$HOME/.ozsh
|
||||||
|
|
||||||
|
# remove garbage
|
||||||
|
rm -rf "$HOME/.oh-my-zsh"
|
||||||
|
|
||||||
# clone the repo
|
# clone the repo
|
||||||
if [ ! -d "$OZSH_HOME" ]; then
|
if [ ! -d "$OZSH_HOME" ]; then
|
||||||
git clone https://git.quacker.org/d/ozsh $OZSH_HOME/
|
git clone https://git.quacker.org/d/ozsh $OZSH_HOME/
|
||||||
@ -13,6 +16,7 @@ fi
|
|||||||
git -C $OZSH_HOME submodule update --init --recursive
|
git -C $OZSH_HOME submodule update --init --recursive
|
||||||
|
|
||||||
# link .zshrc
|
# link .zshrc
|
||||||
rm -f $HOME/.zshrc
|
rm -f "$HOME/.zshrc"
|
||||||
|
rm -f "$HOME/.p10k.zsh"
|
||||||
ln -s $OZSH_HOME/.zshrc $HOME/.zshrc
|
ln -s $OZSH_HOME/.zshrc $HOME/.zshrc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user