From 2e520b8fe10dc15c2f4409b0e1aa1f96c11d0e0d Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 12 May 2022 16:00:57 +0200 Subject: [PATCH] Update properly Java with bigupdate abbreviation --- manjaro.sh | 2 +- ubuntu.sh | 2 +- wsl.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manjaro.sh b/manjaro.sh index 7476d25..f29792b 100644 --- a/manjaro.sh +++ b/manjaro.sh @@ -77,7 +77,7 @@ then fish -c "abbr - 'cd -'" fish -c "abbr cat 'bat'" fish -c "abbr nano 'micro'" - fish -c "abbr bigupdate 'yay -Syu --noconfirm && tldr --update && echo \'y\' | sdk upgrade java'" + fish -c "abbr bigupdate 'yay -Syu --noconfirm && tldr --update && sdk update && echo \'y\' | sdk upgrade java'" 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'" # Remove fish icon diff --git a/ubuntu.sh b/ubuntu.sh index 680134d..9dc9335 100644 --- a/ubuntu.sh +++ b/ubuntu.sh @@ -76,7 +76,7 @@ then fish -c "abbr - 'cd -'" fish -c "abbr cat 'batcat'" fish -c "abbr nano 'micro'" - fish -c "abbr bigupdate 'sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo snap refresh && tldr --update'" + fish -c "abbr bigupdate 'sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo snap refresh && tldr --update && sdk update && echo \'y\' | sdk upgrade java'" 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'" # Remove fish icon diff --git a/wsl.sh b/wsl.sh index 57e0e17..fbd06da 100644 --- a/wsl.sh +++ b/wsl.sh @@ -86,7 +86,7 @@ then fish -c "abbr - 'cd -'" fish -c "abbr cat 'batcat'" fish -c "abbr nano 'micro'" - fish -c "abbr bigupdate 'sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y && tldr --update'" + fish -c "abbr bigupdate 'sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y && tldr --update && sdk update && echo \'y\' | sdk upgrade java'" fish -c "abbr d 'explorer.exe .'" fish -c "abbr tlmgr 'sudo \$(which tlmgr)'"