mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Fix paths
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user