Added java to PATH

This commit is contained in:
Jan Jastrow 2022-02-20 16:36:35 +01:00
parent 7d89837c10
commit 537b7c0b75
1 changed files with 5 additions and 1 deletions

View File

@ -60,6 +60,10 @@ if [[ $platform == 'macOS' ]]; then
fi
fi
if test -d "/opt/homebrew/opt/openjdk/bin"; then
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"
fi
if test -d "/usr/local/opt/ruby"; then
export PATH="/usr/local/opt/ruby/bin:$PATH"
fi
@ -79,4 +83,4 @@ if [[ -x `which thefuck` ]]; then
eval "$(thefuck --alias FUCK)"
alias fuck='eval $(thefuck $(fc -ln -1 | tail -n 1)); fc -R'
fi
fi