fix: unlink cmd

This commit is contained in:
Strix 2023-10-14 22:38:15 +02:00
parent 2e923144b9
commit 1ae541027e
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

View file

@ -32,7 +32,7 @@ apply() {
[ -d "$PL_DIR" ] || git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $PL_DIR
fi
unlink $HOME/.zshrc
[ -f "$HOME/.zshrc" ] && unlink $HOME/.zshrc
[ -e "$HOME/.zshrc" ] || ln files/.zshrc $HOME/.zshrc
}