use different tmp filename instead of ignoring error
This commit is contained in:
parent
fd94ec8e1c
commit
2a03a4512f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue