use yes command
This commit is contained in:
parent
9bcfecb6f1
commit
1fecacf2c7
1 changed files with 2 additions and 2 deletions
4
arch.sh
4
arch.sh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue