mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Fix path ordering
This commit is contained in:
@@ -95,8 +95,6 @@ zstyle ':completion::complete:*' cache-path "${ZDOTDIR:-$HOME}/.zcompcache"
|
|||||||
# .profile is universal
|
# .profile is universal
|
||||||
emulate sh -c '. /etc/profile'
|
emulate sh -c '. /etc/profile'
|
||||||
emulate sh -c '. ~/.profile'
|
emulate sh -c '. ~/.profile'
|
||||||
# Deduplicate the path
|
|
||||||
typeset -U path
|
|
||||||
|
|
||||||
# Additional Keybindings
|
# Additional Keybindings
|
||||||
bindkey '^[[A' history-search-backward
|
bindkey '^[[A' history-search-backward
|
||||||
@@ -192,13 +190,16 @@ fi
|
|||||||
|
|
||||||
# Pip packages and other local resources
|
# Pip packages and other local resources
|
||||||
if test -d ${HOME}/.local/bin ; then
|
if test -d ${HOME}/.local/bin ; then
|
||||||
PATH=${PATH}:${HOME}/.local/bin
|
PATH="${PATH}:${HOME}/.local/bin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -z "${PAGER}" && command -v less >/dev/null 2>&1; then
|
if test -z "${PAGER}" && command -v less >/dev/null 2>&1; then
|
||||||
export PAGER="less"
|
export PAGER="less"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# I want this first always
|
||||||
|
PATH="${HOME}/bin:${PATH}"
|
||||||
|
|
||||||
# Load any local settings
|
# Load any local settings
|
||||||
source_if_existing $HOME/.zshrc.local
|
source_if_existing $HOME/.zshrc.local
|
||||||
|
|
||||||
@@ -216,3 +217,6 @@ if [[ $- == *i* ]] ; then
|
|||||||
fi
|
fi
|
||||||
prompt "${THEME:-matir}" >/dev/null 2>&1
|
prompt "${THEME:-matir}" >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Cleanup PATH
|
||||||
|
typeset -U PATH
|
||||||
|
|||||||
Reference in New Issue
Block a user