summaryrefslogtreecommitdiffstats
path: root/.bash_profile
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2023-04-11 14:57:14 +0200
committerAhmed Abdelhalim <[email protected]>2023-04-11 14:57:14 +0200
commitf6e5a5792ad1fefd9cb73bbd0dd39e12b6053ebe (patch)
tree5be7e3e71cf94942f9eefa56788016d158aa4d37 /.bash_profile
parent17b3a54c87c7800b2456afa29e229674a1c68755 (diff)
Add the java path configurations for jdk/gradle
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile12
1 files changed, 7 insertions, 5 deletions
diff --git a/.bash_profile b/.bash_profile
index 0fa8f19..4829594 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -99,11 +99,6 @@ 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
@@ -129,3 +124,10 @@ fi
# ==== MISC CowSay
fortune | cowsay | lolcat
+
+# ==== Work config ===========================================================
+# ==== JAVA config
+if command -v java 1>/dev/null 2>&1; then
+ export PATH="/opt/homebrew/opt/openjdk@11/bin:$PATH"
+ export PATH="/opt/homebrew/opt/gradle@6/bin:$PATH"
+fi