diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv index d045ada..654463f 100644 --- a/.config/zsh/.zshenv +++ b/.config/zsh/.zshenv @@ -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" diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 2dc272f..31a7b3e 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -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