From 19eec92024ce968680011487033b0ed4f0d7dce8 Mon Sep 17 00:00:00 2001
From: Aryadev Chavali <aryadev@aryadevchavali.com>
Date: Mon, 8 Mar 2021 00:53:31 +0000
Subject: (Shell)+sdkman config to zsh

---
 Shell/.zprofile | 2 +-
 Shell/.zshrc    | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

(limited to 'Shell')

diff --git a/Shell/.zprofile b/Shell/.zprofile
index 82ba0bd..54ba227 100644
--- a/Shell/.zprofile
+++ b/Shell/.zprofile
@@ -6,7 +6,7 @@ export EA_EDITOR=$EDITOR
 export TERMINAL="st"
 export BROWSER="qutebrowser"
 export PF_INFO="ascii title os memory uptime editor wm shell"
-export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:$HOME/.local/bin/:$HOME/.emacs.d/bin:$(find ~/.local/scripts/ -type d | tr '\n' ':')$HOME/.cargo/bin"
+export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:$HOME/.local/bin/:$HOME/.emacs.d/bin:$(find ~/.local/scripts/ -type d | tr '\n' ':')$HOME/.cargo/bin:$HOME/.sdkman/bin"
 export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
 export DOTNET_CLI_TELEMTRY_OPTOUT=1
 export force_color_prompt=yes
diff --git a/Shell/.zshrc b/Shell/.zshrc
index f355e4b..a60d263 100644
--- a/Shell/.zshrc
+++ b/Shell/.zshrc
@@ -107,3 +107,7 @@ export NVM_DIR="$HOME/.nvm"
 [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
 
 source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
+
+#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
+export SDKMAN_DIR="/home/dx/.sdkman"
+[[ -s "/home/dx/.sdkman/bin/sdkman-init.sh" ]] && source "/home/dx/.sdkman/bin/sdkman-init.sh"
-- 
cgit v1.2.3-13-gbd6f