Place /usr/local/{,s}bin later in PATH
This commit is contained in:
parent
fe077563a9
commit
63ce7bf817
|
@ -7,8 +7,8 @@ export VISUAL=$EDITOR
|
||||||
#
|
#
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
|
|
||||||
PATH="$HOME/.bin:$DOTFILES/bin:$PATH"
|
PATH="$DOTFILES/bin:$PATH"
|
||||||
local bins=( "$ENABLED_DIR"/*/bin )
|
bins=( "$ENABLED_DIR"/*/bin )
|
||||||
for bin in "${bins[@]}"; do
|
for bin in "${bins[@]}"; do
|
||||||
[[ -e "$bin" ]] && PATH="$bin:$PATH"
|
[[ -e "$bin" ]] && PATH="$bin:$PATH"
|
||||||
done
|
done
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
source "$HOME/.dotfiles/shell/common.sh"
|
|
||||||
|
|
||||||
## Paths
|
## Paths
|
||||||
# Ensure path arrays do not contain duplicates.
|
# Ensure path arrays do not contain duplicates.
|
||||||
typeset -gU cdpath fpath mailpath path
|
typeset -gU cdpath fpath mailpath path
|
||||||
path=( /usr/local/{,s}bin $path )
|
path=( /usr/local/{,s}bin $path )
|
||||||
|
|
||||||
|
source "$HOME/.dotfiles/shell/common.sh"
|
||||||
|
|
||||||
load shell/zsh/config.zsh
|
load shell/zsh/config.zsh
|
||||||
loadall env.zsh
|
loadall env.zsh
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue