best output redirection

This commit is contained in:
Anri 2021-11-17 20:12:29 +01:00
parent 7c4b7df82b
commit 54bf302536

View file

@ -61,8 +61,8 @@ then
fish -c "abbr d 'explorer.exe .'"
else # if regular distro (i.e. Ubuntu)
fish -c "abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo snap refresh'"
fish -c "abbr d 'nautilus . > /dev/null 2>&1 &;disown'"
fish -c "abbr spotify 'LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify > /dev/null 2>&1 &;disown'"
fish -c "abbr d 'nautilus . &> /dev/null &;disown'"
fish -c "abbr spotify 'LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify &> /dev/null &;disown'"
fi
echo "You must log out to finish applying the changes."