瀏覽代碼

add script to remove old symlinks

Josh Bicking 7 年之前
父節點
當前提交
7eef827986
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      rmdots.sh

+ 11 - 0
rmdots.sh

@@ -0,0 +1,11 @@
+#!/bin/bash
+
+DIR=$(pwd)
+
+for i in vimrc vim bashrc tmux.conf zshrc emacs.d dircolors compton.conf .config/nvim .antigen.zsh .xmonad .xmobarrc .local/share/applications/emacs-client.desktop
+do
+	if [ -L $HOME/$i ]
+	then
+		rm -i $HOME/$i
+	fi
+done