use different tmp filename instead of ignoring error

This commit is contained in:
Mylloon 2022-01-05 12:57:30 +01:00
parent fd94ec8e1c
commit 2a03a4512f
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -65,10 +65,10 @@ fish -c "abbr untgz 'tar -xvzf'"
fish -c "abbr - 'cd -'" fish -c "abbr - 'cd -'"
if grep "WSL" /proc/version > /dev/null; # only for WSL if grep "WSL" /proc/version > /dev/null; # only for WSL
then then
fish -c "abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt full-upgrade -y && sudo apt autoremove -y && wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/update.sh -O tmp.sh && bash tmp.sh; rm tmp.sh'" fish -c "abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt full-upgrade -y && sudo apt autoremove -y && wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/update.sh -O tmp_u.sh && bash tmp_u.sh; rm tmp_u.sh'"
fish -c "abbr d 'explorer.exe .'" fish -c "abbr d 'explorer.exe .'"
else # if regular distro (i.e. Ubuntu) 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 && wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/update.sh -O tmp.sh && bash tmp.sh; rm tmp.sh 2> /dev/null'" fish -c "abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo snap refresh && wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/update.sh -O tmp_u.sh && bash tmp_u.sh; rm tmp_u.sh'"
fish -c "abbr d 'nautilus . -w &> /dev/null & disown'" fish -c "abbr d 'nautilus . -w &> /dev/null & disown'"
fish -c "abbr spotify 'LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify &> /dev/null & disown'" fish -c "abbr spotify 'LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify &> /dev/null & disown'"
fi fi