From 60f68f11a2965fcb9b46d42fa7de31d2e3031280 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sat, 21 Feb 2026 11:52:50 -0800 Subject: [PATCH] Fiz --- dotfiles/zprofile | 5 ----- dotfiles/zshenv | 10 +++++++++- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/dotfiles/zprofile b/dotfiles/zprofile index 6925a78..934cd32 100644 --- a/dotfiles/zprofile +++ b/dotfiles/zprofile @@ -1,6 +1 @@ # this is only run in login shells, both interactive and non-interactive -if [[ ! -o interactive ]]; then - if command -v mise 2>&1 ; then - eval "$(mise activate zsh --shims)" - fi -fi diff --git a/dotfiles/zshenv b/dotfiles/zshenv index 3bfee03..fa9139e 100755 --- a/dotfiles/zshenv +++ b/dotfiles/zshenv @@ -1,8 +1,16 @@ +# this is run in all zsh sessions, interactive or not, login or not + if [[ -f $HOME/.shenv ]] ; then source $HOME/.shenv ; fi # ZSH specific environment DEBIAN_PREVENT_KEYBOARD_CHANGES=yes if test -d ${HOME}/.local/bin ; then - PATH="${HOME}/.local/bin:${PATH}" + export PATH="${HOME}/.local/bin:${PATH}" +fi + +if [[ ! -o interactive ]]; then + if command -v mise 2>&1 ; then + eval "$(mise activate zsh --shims)" + fi fi