From 2a03a4512f0f0ee079c3e3e5b4454fdbd3af485c Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 5 Jan 2022 12:57:30 +0100 Subject: [PATCH] use different tmp filename instead of ignoring error --- installFish.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installFish.sh b/installFish.sh index e01dcfc..1d0dfe2 100644 --- a/installFish.sh +++ b/installFish.sh @@ -65,10 +65,10 @@ fish -c "abbr untgz 'tar -xvzf'" fish -c "abbr - 'cd -'" if grep "WSL" /proc/version > /dev/null; # only for WSL 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 .'" 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 spotify 'LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify &> /dev/null & disown'" fi