From 1c0c5dd32bf1dd65f0ab06df8ef6161433329d0a Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Fri, 20 Feb 2026 16:19:09 -0800 Subject: [PATCH] Update zshrc order --- dotfiles/zshrc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dotfiles/zshrc b/dotfiles/zshrc index b3b8478..b2122dc 100755 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -181,6 +181,11 @@ 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 @@ -252,6 +257,10 @@ if [[ $- == *i* ]] ; then source "${HOME}/.iterm2_shell_integration.zsh" || true # mise, if installed command -v mise >/dev/null 2>&1 && eval "$(mise activate zsh)" + + if test -z "${PAGER}" && command -v less >/dev/null 2>&1; then + export PAGER="less" + fi fi # End interactive-only block # In case ack is named ack-grep @@ -259,15 +268,6 @@ if [ -x /usr/bin/ack-grep ] ; then alias ack='/usr/bin/ack-grep' fi -# Pip packages and other local resources -if test -d ${HOME}/.local/bin ; then - PATH="${PATH}:${HOME}/.local/bin" -fi - -if test -z "${PAGER}" && command -v less >/dev/null 2>&1; then - export PAGER="less" -fi - # I want this first always PATH="${HOME}/bin:${PATH}"