Update properly Java with bigupdate abbreviation

This commit is contained in:
Mylloon 2022-05-12 16:00:57 +02:00
parent e14cebcaec
commit 2e520b8fe1
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 3 additions and 3 deletions

View file

@ -77,7 +77,7 @@ then
fish -c "abbr - 'cd -'" fish -c "abbr - 'cd -'"
fish -c "abbr cat 'bat'" fish -c "abbr cat 'bat'"
fish -c "abbr nano 'micro'" 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 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'"
# Remove fish icon # Remove fish icon

View file

@ -76,7 +76,7 @@ then
fish -c "abbr - 'cd -'" fish -c "abbr - 'cd -'"
fish -c "abbr cat 'batcat'" fish -c "abbr cat 'batcat'"
fish -c "abbr nano 'micro'" 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 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'"
# Remove fish icon # Remove fish icon

2
wsl.sh
View file

@ -86,7 +86,7 @@ then
fish -c "abbr - 'cd -'" fish -c "abbr - 'cd -'"
fish -c "abbr cat 'batcat'" fish -c "abbr cat 'batcat'"
fish -c "abbr nano 'micro'" 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 d 'explorer.exe .'"
fish -c "abbr tlmgr 'sudo \$(which tlmgr)'" fish -c "abbr tlmgr 'sudo \$(which tlmgr)'"