[zsh] added more envs and remove direnv
This commit is contained in:
parent
2f4814158e
commit
9431c74529
2 changed files with 4 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue