2016-10-19 07:56:37 -07:00
|
|
|
## Paths
|
2017-03-27 19:24:20 -07:00
|
|
|
source "$HOME/.dotfiles/shell/common.sh"
|
|
|
|
|
2016-10-19 07:56:37 -07:00
|
|
|
# Ensure path arrays do not contain duplicates.
|
|
|
|
typeset -gU cdpath fpath mailpath path
|
2017-03-27 19:24:20 -07:00
|
|
|
path=( $DOTFILES/bin "$ENABLED_DIR"/*/bin /usr/local/{,s}bin $path )
|
2017-03-19 13:25:42 -07:00
|
|
|
|
2017-04-25 20:27:03 -07:00
|
|
|
load shell/+zsh/config.zsh
|
2016-12-16 15:32:44 -08:00
|
|
|
loadall env.zsh
|
2016-11-16 06:06:41 -08:00
|
|
|
|
2017-10-07 08:38:22 -07:00
|
|
|
path=( $HOME/bin $path )
|
|
|
|
|
2016-10-19 07:56:37 -07:00
|
|
|
fpath=(
|
2017-04-25 20:27:03 -07:00
|
|
|
$DOTFILES/shell/+zsh/completions
|
2016-10-19 07:56:37 -07:00
|
|
|
$fpath
|
|
|
|
)
|
|
|
|
|
|
|
|
export LESS='-g -i -M -R -S -w -z-4'
|
2017-07-19 04:25:04 -07:00
|
|
|
export SHELL=$(which zsh)
|
2016-10-19 07:56:37 -07:00
|
|
|
if is-callable lesspipe; then
|
|
|
|
export LESSOPEN='| /usr/bin/env lesspipe %s 2>&-'
|
|
|
|
fi
|