2024-02-13 17:52:31 +00:00
|
|
|
#This is used to reload the instance
|
|
|
|
TRAPUSR1() {
|
|
|
|
if [[ -o INTERACTIVE ]]; then
|
|
|
|
exec "${SHELL}"
|
|
|
|
fi
|
|
|
|
}
|
2024-06-01 03:55:57 +01:00
|
|
|
if [[ $(uname) == "Darwin" ]]; then
|
|
|
|
export JAVA_HOME="/opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk/Contents/Home"
|
2024-07-20 14:26:01 +01:00
|
|
|
else
|
|
|
|
export LIBVA_DRIVER_NAME=nvidia
|
2024-06-01 03:55:57 +01:00
|
|
|
fi
|
2024-06-08 18:12:40 +01:00
|
|
|
export XDG_CONFIG_HOME="${HOME}/.config"
|
|
|
|
export XDG_CACHE_HOME="${HOME}/.cache"
|
|
|
|
export XDG_DATA_HOME="${HOME}/.local/share"
|
|
|
|
export XDG_STATE_HOME="${HOME}/.local/state"
|
2024-07-20 14:26:01 +01:00
|
|
|
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|