switch from sdkman to jdk-openjdk
This commit is contained in:
parent
670c51d133
commit
b5cfad5d87
4 changed files with 4 additions and 35 deletions
|
@ -5,7 +5,7 @@ abbr .... "cd ../../.."
|
||||||
abbr ..... "cd ../../../.."
|
abbr ..... "cd ../../../.."
|
||||||
abbr ...... "cd ../../../../.."
|
abbr ...... "cd ../../../../.."
|
||||||
abbr - "cd -"
|
abbr - "cd -"
|
||||||
abbr bigupdate "paru -Syu --noconfirm && tldr --update && yes | sdk update && yes | sdk upgrade java"
|
abbr bigupdate "paru -Syu --noconfirm && tldr --update && yes"
|
||||||
abbr cat "bat -pp"
|
abbr cat "bat -pp"
|
||||||
abbr c command # Cancel abbreviation, alias of \
|
abbr c command # Cancel abbreviation, alias of \
|
||||||
abbr cd.. "cd .."
|
abbr cd.. "cd .."
|
||||||
|
|
16
arch.sh
16
arch.sh
|
@ -305,22 +305,6 @@ main() {
|
||||||
echo "style_main_window=true" >> /usr/share/copyq/themes/dark.ini
|
echo "style_main_window=true" >> /usr/share/copyq/themes/dark.ini
|
||||||
copyq loadTheme /usr/share/copyq/themes/dark.ini
|
copyq loadTheme /usr/share/copyq/themes/dark.ini
|
||||||
|
|
||||||
# === Java ==
|
|
||||||
curl -s "https://get.sdkman.io" | bash
|
|
||||||
# Temporary disable nounset for SDK
|
|
||||||
set +o nounset
|
|
||||||
# shellcheck source=/dev/null
|
|
||||||
source "$HOME/.sdkman/bin/sdkman-init.sh"
|
|
||||||
if [ -x "$HOME"/.config/fish ] ; then
|
|
||||||
if [ ! -f "$HOME"/.config/fish/functions/fisher.fish ] ; then # install fisher if not already installed
|
|
||||||
curl -sL https://git.io/fisher | fish -c "source && fisher install jorgebucaran/fisher"
|
|
||||||
fi
|
|
||||||
fish -c "fisher install reitzig/sdkman-for-fish"
|
|
||||||
fi
|
|
||||||
sdk install java 17.0.8.1-tem # https://whichjdk.com/#adoptium-eclipse-temurin
|
|
||||||
# Renable nounset
|
|
||||||
set -o nounset
|
|
||||||
|
|
||||||
# === UBW (pare-feu) ==
|
# === UBW (pare-feu) ==
|
||||||
ufw enable
|
ufw enable
|
||||||
|
|
||||||
|
|
18
arch_wsl.sh
18
arch_wsl.sh
|
@ -38,7 +38,7 @@ main() {
|
||||||
libsamplerate rsync doxygen otf-fira-sans ttf-fira-code texlive-binextra \
|
libsamplerate rsync doxygen otf-fira-sans ttf-fira-code texlive-binextra \
|
||||||
otf-fira-mono mingw-w64-gcc otf-font-awesome soundfont-fluid fluidsynth \
|
otf-fira-mono mingw-w64-gcc otf-font-awesome soundfont-fluid fluidsynth \
|
||||||
pulseaudio-alsa texlive-latexextra texlive-langfrench texlive-luatex \
|
pulseaudio-alsa texlive-latexextra texlive-langfrench texlive-luatex \
|
||||||
noto-fonts
|
noto-fonts jdk-openjdk
|
||||||
|
|
||||||
|
|
||||||
# === Rustup ==
|
# === Rustup ==
|
||||||
|
@ -155,22 +155,6 @@ main() {
|
||||||
wget -q --show-progress "${url_tldr:1}" -O completions_fish
|
wget -q --show-progress "${url_tldr:1}" -O completions_fish
|
||||||
mv completions_fish ~/.config/fish/completions/tldr.fish
|
mv completions_fish ~/.config/fish/completions/tldr.fish
|
||||||
|
|
||||||
# === Java ==
|
|
||||||
curl -s "https://get.sdkman.io" | bash
|
|
||||||
# Temporary disable nounset for SDK
|
|
||||||
set +o nounset
|
|
||||||
# shellcheck source=/dev/null
|
|
||||||
source "$HOME/.sdkman/bin/sdkman-init.sh"
|
|
||||||
if [ -x "$HOME"/.config/fish ] ; then
|
|
||||||
if [ ! -f "$HOME"/.config/fish/functions/fisher.fish ] ; then # install fisher if not already installed
|
|
||||||
curl -sL https://git.io/fisher | fish -c "source && fisher install jorgebucaran/fisher"
|
|
||||||
fi
|
|
||||||
fish -c "fisher install reitzig/sdkman-for-fish"
|
|
||||||
fi
|
|
||||||
sdk install java 17.0.8.1-tem # https://whichjdk.com/#adoptium-eclipse-temurin
|
|
||||||
# Renable nounset
|
|
||||||
set -o nounset
|
|
||||||
|
|
||||||
# === Manual color ==
|
# === Manual color ==
|
||||||
fish -c "set -Ux MANPAGER \"sh -c 'col -bx | bat -l man -p'\""
|
fish -c "set -Ux MANPAGER \"sh -c 'col -bx | bat -l man -p'\""
|
||||||
fish -c "set -Ux MANROFFOPT \"-c\""
|
fish -c "set -Ux MANROFFOPT \"-c\""
|
||||||
|
|
|
@ -130,7 +130,8 @@
|
||||||
"gnome-shell-extension-appindicator",
|
"gnome-shell-extension-appindicator",
|
||||||
"libreoffice-fresh",
|
"libreoffice-fresh",
|
||||||
"trash-cli",
|
"trash-cli",
|
||||||
"power-profiles-daemon"
|
"power-profiles-daemon",
|
||||||
|
"jdk-openjdk"
|
||||||
],
|
],
|
||||||
"plugin": null,
|
"plugin": null,
|
||||||
"profile": {
|
"profile": {
|
||||||
|
|
Loading…
Reference in a new issue