diff --git a/pre.sh b/pre.sh index 6982c14..468f2d3 100644 --- a/pre.sh +++ b/pre.sh @@ -4,13 +4,16 @@ echo "Unlinking individual dotfiles" if [ -L "$HOME/.Xresources" ]; then unlink $HOME/.Xresources fi +if [ -L "$HOME/.Xdefaults " ]; then +unlink $HOME/.Xdefaults +fi if [ -d "$HOME/.dotfiles" ]; then OLDIR=$PWD cd $HOME/.dotfiles for dir in $(find . -maxdepth 1 -type d -printf "%f\n" | grep -v '\.'); do - stow -D -d $HOME/.dotfiles -t $HOME $dir + stow -D -d $HOME/.dotfiles -t $HOME $dir &> /dev/null done cd $OLDIR