zsh/rc/variables.rc

26 lines
648 B
Plaintext

[ -d /usr/local/info ] && export INFO_PATH="$INFO_PATH;/usr/local/info"
# less
if which less > /dev/null; then
export PAGER=less
export LESS="-ir"
export LESS_TERMCAP_mb=$'\E[01;31m'
export LESS_TERMCAP_md=$'\E[01;31m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TERMCAP_so=$'\E[01;44;33m'
export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[01;32m'
if which lesspipe > /dev/null; then
export LESSOPEN="| /usr/bin/lesspipe %s"
export LESSCLOSE="/usr/bin/lesspipe %s %s"
fi
fi
PATH=$PATH:$ZDOTDIR/bin:~/.bin:/usr/local/bin:/usr/sbin:/sbin
export PATH
export WORDCHARS="${WORDCHARS:s#/#}"