From e1f450223d87783294b46ef1e415fed9538f6029 Mon Sep 17 00:00:00 2001 From: Ian Mancini Date: Wed, 8 Apr 2020 21:16:38 -0300 Subject: [PATCH] Redirect stow output to /dev/null on pre.sh --- pre.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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