same behaviour

This commit is contained in:
Mylloon 2021-11-14 20:24:50 +01:00
parent 54fa0ba864
commit df757442a9

View file

@ -57,12 +57,12 @@ fish -c "abbr untgz 'tar -xvzf'"
fish -c "abbr cd.. 'cd ..'"
if grep "WSL" /proc/version > /dev/null; # Only for WSL
then
abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo do-release-upgrade'
abbr d 'explorer.exe .'
fish -c "abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo do-release-upgrade'"
fish -c "abbr d 'explorer.exe .'"
else # if regular distro (i.e. Ubuntu)
abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo snap refresh'
abbr d 'nautilus . > /dev/null 2>&1 &;disown'
abbr spotify 'LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify > /dev/null 2>&1 &;disown'
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'"
fi
echo "You must log out to finish applying the changes."