2016-10-19 07:56:37 -07:00
|
|
|
export DOTFILES="$HOME/.dotfiles"
|
|
|
|
source "$DOTFILES/shell/common.sh"
|
|
|
|
|
|
|
|
## Paths
|
|
|
|
# Ensure path arrays do not contain duplicates.
|
|
|
|
typeset -gU cdpath fpath mailpath path
|
|
|
|
|
2016-11-16 06:06:41 -08:00
|
|
|
path=(/usr/local/{,s}bin $path)
|
|
|
|
|
|
|
|
load shell/env.sh
|
|
|
|
loadall shell/zsh env.zsh
|
|
|
|
|
2016-10-19 07:56:37 -07:00
|
|
|
path=(
|
2016-11-16 06:06:41 -08:00
|
|
|
$HOME/.bin
|
2016-10-19 07:56:37 -07:00
|
|
|
$DOTFILES/bin
|
|
|
|
$path
|
|
|
|
)
|
|
|
|
|
|
|
|
fpath=(
|
2016-10-30 06:28:55 -07:00
|
|
|
$DOTFILES/shell/zsh/{completions,functions}
|
2016-10-19 07:56:37 -07:00
|
|
|
$fpath
|
|
|
|
)
|
|
|
|
|
|
|
|
export LESS='-g -i -M -R -S -w -z-4'
|
|
|
|
if is-callable lesspipe; then
|
|
|
|
export LESSOPEN='| /usr/bin/env lesspipe %s 2>&-'
|
|
|
|
fi
|
|
|
|
|
2016-11-16 06:06:41 -08:00
|
|
|
[[ $LANG ]] || export LANG='en_US.UTF-8'
|