shell/zsh/.zshenv: refactor

This commit is contained in:
Henrik Lissner 2016-12-24 15:57:00 -05:00
parent 9251b7c68d
commit ba69716c3b

View file

@ -3,16 +3,12 @@ source "$HOME/.dotfiles/shell/common.sh"
## Paths
# Ensure path arrays do not contain duplicates.
typeset -gU cdpath fpath mailpath path
path=(/usr/local/{,s}bin $path)
path=( /usr/local/{,s}bin $path )
load shell/zsh/config.zsh
loadall env.zsh
path=(
$HOME/.bin
$DOTFILES/bin
$path
)
path=( $HOME/.bin $DOTFILES/bin $path )
fpath=(
$DOTFILES/shell/zsh/{completions,functions}