From f1495add30bfff432e930a47dfdc6fb3ab914007 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sun, 22 Feb 2026 10:08:10 -0800 Subject: [PATCH] Fix paths --- dotfiles/zshenv | 4 ++-- dotfiles/zshrc | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/dotfiles/zshenv b/dotfiles/zshenv index dc7db7f..2a64b12 100755 --- a/dotfiles/zshenv +++ b/dotfiles/zshenv @@ -9,8 +9,8 @@ if test -d ${HOME}/.local/bin ; then export PATH="${HOME}/.local/bin:${PATH}" fi -if [[ ! -o interactive ]]; then - if command -v mise 2>/dev/null ; then +if [[ ! -o interactive || ! -t 0 ]]; then + if command -v mise >/dev/null 2>&1 ; then eval "$(mise activate zsh --shims)" fi fi diff --git a/dotfiles/zshrc b/dotfiles/zshrc index b2122dc..53599e0 100755 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -181,11 +181,6 @@ have_command() { command -v "${1}" &>/dev/null } -# Pip packages and other local resources -if test -d ${HOME}/.local/bin ; then - PATH="${PATH}:${HOME}/.local/bin" -fi - # Source extras and aliases if interactive if [[ $- == *i* ]] ; then source_if_existing $HOME/.aliases