[zsh] added more envs and remove direnv

This commit is contained in:
Afonso Franco 2024-11-12 15:46:32 +00:00
parent 2f4814158e
commit 9431c74529
Signed by: afonso
SSH key fingerprint: SHA256:PQTRDHPH3yALEGtHXnXBp3Orfcn21pK20t0tS1kHg54
2 changed files with 4 additions and 2 deletions

View file

@ -14,6 +14,8 @@ if [[ $(uname) == "Darwin" ]]; then
export PATH="/opt/homebrew/bin:$PATH"
export PATH="/opt/homebrew/opt/openjdk@17/bin:$PATH"
export PATH="/opt/homebrew/opt/texlive/bin:$PATH"
export GEM_HOME=$HOME/.gem
export PATH=$PATH:$GEM_HOME/bin
else
#ONLY LINUX
export LIBVA_DRIVER_NAME=nvidia
@ -40,3 +42,4 @@ export XDG_CACHE_HOME="${HOME}/.cache"
export XDG_DATA_HOME="${HOME}/.local/share"
export XDG_STATE_HOME="${HOME}/.local/state"
. "$HOME/.cargo/env"

View file

@ -47,9 +47,8 @@ unset __conda_setup
if [ -f "$HOME/.miniforge3/etc/profile.d/mamba.sh" ]; then
. "$HOME/.miniforge3/etc/profile.d/mamba.sh"
fi
# <<< conda initialize <<<
eval "$(direnv hook zsh)"
if [[ $(uname) == "Darwin" ]]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
fi