summaryrefslogtreecommitdiffstats
path: root/.bash_profile
diff options
context:
space:
mode:
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile5
1 files changed, 5 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile
index 9cae301..0fa8f19 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -99,6 +99,11 @@ if [ -d $HOME/.nvm ]; then
source $(brew --prefix nvm)/nvm.sh
fi
+# ==== JAVA config
+if command -v java 1>/dev/null 2>&1; then
+ export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"
+fi
+
# ==== MISC config
if command -v thefuck 1>/dev/null 2>&1; then
# allow fuck to be alias of thefuck