|
|
@ -4,13 +4,16 @@ echo "Unlinking individual dotfiles"
|
|
|
|
if [ -L "$HOME/.Xresources" ]; then
|
|
|
|
if [ -L "$HOME/.Xresources" ]; then
|
|
|
|
unlink $HOME/.Xresources
|
|
|
|
unlink $HOME/.Xresources
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -L "$HOME/.Xdefaults " ]; then
|
|
|
|
|
|
|
|
unlink $HOME/.Xdefaults
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ -d "$HOME/.dotfiles" ]; then
|
|
|
|
if [ -d "$HOME/.dotfiles" ]; then
|
|
|
|
OLDIR=$PWD
|
|
|
|
OLDIR=$PWD
|
|
|
|
|
|
|
|
|
|
|
|
cd $HOME/.dotfiles
|
|
|
|
cd $HOME/.dotfiles
|
|
|
|
for dir in $(find . -maxdepth 1 -type d -printf "%f\n" | grep -v '\.'); do
|
|
|
|
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
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
cd $OLDIR
|
|
|
|
cd $OLDIR
|
|
|
|