diff options
| author | Ahmed Abdelhalim <[email protected]> | 2023-04-11 14:57:14 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2023-04-11 14:57:14 +0200 |
| commit | f6e5a5792ad1fefd9cb73bbd0dd39e12b6053ebe (patch) | |
| tree | 5be7e3e71cf94942f9eefa56788016d158aa4d37 | |
| parent | 17b3a54c87c7800b2456afa29e229674a1c68755 (diff) | |
Add the java path configurations for jdk/gradle
| -rw-r--r-- | .bash_profile | 12 |
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 |
