helm/shell/+zsh/.zshenv
2017-07-19 13:25:04 +02:00

21 lines
461 B
Bash

## Paths
source "$HOME/.dotfiles/shell/common.sh"
# Ensure path arrays do not contain duplicates.
typeset -gU cdpath fpath mailpath path
path=( $DOTFILES/bin "$ENABLED_DIR"/*/bin /usr/local/{,s}bin $path )
load shell/+zsh/config.zsh
loadall env.zsh
fpath=(
$DOTFILES/shell/+zsh/completions
$fpath
)
export LESS='-g -i -M -R -S -w -z-4'
export SHELL=$(which zsh)
if is-callable lesspipe; then
export LESSOPEN='| /usr/bin/env lesspipe %s 2>&-'
fi