fix: unlink cmd
This commit is contained in:
parent
2e923144b9
commit
1ae541027e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue