diff --git a/install b/install index 9861462..3962653 100755 --- a/install +++ b/install @@ -34,6 +34,10 @@ if [ ! -d "$HOME/.oh-my-zsh" ]; then sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" fi +if [ -f "$HOME/.zshrc" ] && [ ! -L "$HOME/.zshrc" ]; then + rm "$HOME/.zshrc" +fi + mkdir -p "$HOME/.ssh" echo "Include $HOME/.config/ssh/*" >> "$HOME/.ssh/config"