use yes command

This commit is contained in:
Mylloon 2022-08-03 10:31:31 +02:00
parent 9bcfecb6f1
commit 1fecacf2c7
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -94,7 +94,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 && sdk update && echo \'y\' | sdk upgrade java'"
fish -c "abbr bigupdate 'yay -Syu --noconfirm && tldr --update && sdk update && yes | 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'"
fish -c "abbr gc 'git clone'"
@ -304,7 +304,7 @@ then
fish -c 'fisher install reitzig/sdkman-for-fish'
fi
sdk install java 17.0.3-tem # https://whichjdk.com/#adoptium-eclipse-temurin
echo "y" | sdk upgrade java
yes | sdk upgrade java
# === UBW (pare-feu) ==
ufw enable