#!/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 to_delete=" .local/bin/color_test .local/bin/utf8_demo .config/dircolors.conf .config/git .vim/autoload .vim/plugged .vimrc .config/zsh .zshenv .local/bin/backup .local/share/systemd/user/backup.service .local/share/systemd/user/backup.timer " for i in $to_delete; do rm -rf "$HOME/${i:?}" done