Compare commits

...

2 Commits

Author SHA1 Message Date
Jan Jastrow 3a2aee7681 Added java path 2022-02-20 16:52:13 +01:00
Jan Jastrow 537b7c0b75 Added java to PATH 2022-02-20 16:36:35 +01:00
1 changed files with 10 additions and 1 deletions

11
zsh/env
View File

@ -60,6 +60,15 @@ 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/java/bin/"; then
export PATH="/usr/local/opt/java/bin/:$PATH"
fi
/usr/local/opt/java/bin/
if test -d "/usr/local/opt/ruby"; then
export PATH="/usr/local/opt/ruby/bin:$PATH"
fi
@ -79,4 +88,4 @@ if [[ -x `which thefuck` ]]; then
eval "$(thefuck --alias FUCK)"
alias fuck='eval $(thefuck $(fc -ln -1 | tail -n 1)); fc -R'
fi
fi