[zsh] Set JAVA_HOME only on macos
This commit is contained in:
parent
bb24868b36
commit
a8628abfa9
1 changed files with 4 additions and 1 deletions
3
.zshenv
3
.zshenv
|
@ -4,4 +4,7 @@ TRAPUSR1() {
|
|||
exec "${SHELL}"
|
||||
fi
|
||||
}
|
||||
if [[ $(uname) == "Darwin" ]]; then
|
||||
export JAVA_HOME="/opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk/Contents/Home"
|
||||
fi
|
||||
export LIBVA_DRIVER_NAME=nvidia
|
||||
|
|
Loading…
Reference in a new issue