Fix paths

This commit is contained in:
David Tomaschik
2026-02-22 10:08:10 -08:00
parent a6146c2763
commit f1495add30
2 changed files with 2 additions and 7 deletions

View File

@@ -9,8 +9,8 @@ if test -d ${HOME}/.local/bin ; then
export PATH="${HOME}/.local/bin:${PATH}" export PATH="${HOME}/.local/bin:${PATH}"
fi fi
if [[ ! -o interactive ]]; then if [[ ! -o interactive || ! -t 0 ]]; then
if command -v mise 2>/dev/null ; then if command -v mise >/dev/null 2>&1 ; then
eval "$(mise activate zsh --shims)" eval "$(mise activate zsh --shims)"
fi fi
fi fi

View File

@@ -181,11 +181,6 @@ have_command() {
command -v "${1}" &>/dev/null 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 # Source extras and aliases if interactive
if [[ $- == *i* ]] ; then if [[ $- == *i* ]] ; then
source_if_existing $HOME/.aliases source_if_existing $HOME/.aliases