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 ## 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}