#!/bin/bash # THIS IS SCARY! # This is a transitional script for cleaning out old symlinks since # stow doesn't like overwriting existing symlminks. This should only # need to run once on a system, and only if dotfiles were managed # without stow before. Should probably delete this once stow-based # dotfiles are rolled out everywere. set -euo pipefail # symlinks rm -f "$HOME/.config/dircolors.conf" rm -f "$HOME/.config/git" rm -f "$HOME/.config/zsh" rm -f "$HOME/.local/bin/backup" rm -f "$HOME/.local/bin/color_test" rm -f "$HOME/.local/bin/utf8_demo" rm -f "$HOME/.local/share/systemd/user/backup.service" rm -f "$HOME/.local/share/systemd/user/backup.timer" rm -f "$HOME/.vimrc" rm -f "$HOME/.zshenv" # directories rm -rf "$HOME/.vim/autoload" rm -rf "$HOME/.vim/bundle" rm -rf "$HOME/.vim/plugged"