This commit is contained in:
David Tomaschik
2026-02-21 11:52:50 -08:00
parent a1262e9fba
commit 60f68f11a2
2 changed files with 9 additions and 6 deletions

View File

@@ -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

View File

@@ -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