shell/zsh/.zshenv: refactor
This commit is contained in:
parent
9251b7c68d
commit
ba69716c3b
|
@ -3,16 +3,12 @@ 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 )
|
||||||
|
|
||||||
load shell/zsh/config.zsh
|
load shell/zsh/config.zsh
|
||||||
loadall env.zsh
|
loadall env.zsh
|
||||||
|
|
||||||
path=(
|
path=( $HOME/.bin $DOTFILES/bin $path )
|
||||||
$HOME/.bin
|
|
||||||
$DOTFILES/bin
|
|
||||||
$path
|
|
||||||
)
|
|
||||||
|
|
||||||
fpath=(
|
fpath=(
|
||||||
$DOTFILES/shell/zsh/{completions,functions}
|
$DOTFILES/shell/zsh/{completions,functions}
|
||||||
|
|
Loading…
Reference in a new issue