From 6c93db488c1e69436e8990ab18117eb2b678577a Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Tue, 22 Feb 2022 18:26:01 -0500 Subject: [PATCH] add sdkman support to configs --- configs/zsh/by_host/ewpratten-desktop.sh | 6 +++++- configs/zsh/by_host/ewpratten-laptop.sh | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/configs/zsh/by_host/ewpratten-desktop.sh b/configs/zsh/by_host/ewpratten-desktop.sh index efcbaec..ea06869 100644 --- a/configs/zsh/by_host/ewpratten-desktop.sh +++ b/configs/zsh/by_host/ewpratten-desktop.sh @@ -1 +1,5 @@ -#! /bin/bash \ No newline at end of file +#! /bin/bash + +# SDKMAN! +export SDKMAN_DIR="$HOME/.sdkman" +[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh" diff --git a/configs/zsh/by_host/ewpratten-laptop.sh b/configs/zsh/by_host/ewpratten-laptop.sh index efcbaec..1ecab94 100644 --- a/configs/zsh/by_host/ewpratten-laptop.sh +++ b/configs/zsh/by_host/ewpratten-laptop.sh @@ -1 +1,5 @@ -#! /bin/bash \ No newline at end of file +#! /bin/bash + +# SDKMAN! +export SDKMAN_DIR="$HOME/.sdkman" +[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh" \ No newline at end of file