helm/shell/zsh/.zshenv
2016-11-16 15:06:41 +01:00

30 lines
534 B
Bash

export DOTFILES="$HOME/.dotfiles"
source "$DOTFILES/shell/common.sh"
## Paths
# Ensure path arrays do not contain duplicates.
typeset -gU cdpath fpath mailpath path
path=(/usr/local/{,s}bin $path)
load shell/env.sh
loadall shell/zsh env.zsh
path=(
$HOME/.bin
$DOTFILES/bin
$path
)
fpath=(
$DOTFILES/shell/zsh/{completions,functions}
$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
[[ $LANG ]] || export LANG='en_US.UTF-8'