.zshenv is run everytime a zsh instance is started, including subshells and the like. Use this file, now, to set things like PATH and such that are used frequently. Add a setup symlink for .zshenv
25 lines
589 B
Bash
25 lines
589 B
Bash
# .zshenv
|
|
# vim: ft=zsh
|
|
# Eryn Wells <eryn@erynwells.me>
|
|
|
|
|
|
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11/bin
|
|
[ -d /opt/local/bin ] && PATH=$PATH:/opt/local/bin
|
|
[ -d $HOME/.local/bin ] && PATH=$PATH:$HOME/.local/bin
|
|
[ -d $HOME/bin ] && PATH=$PATH:$HOME/bin
|
|
|
|
PAGER="less"
|
|
MANPAGER=$PAGER
|
|
EDITOR="vim"
|
|
VISUAL=$EDITOR
|
|
LESSHISTFILE="-"
|
|
GREP_OPTIONS="--color=auto"
|
|
GREP_COLOR="1;32"
|
|
|
|
export PATH \
|
|
PAGER MANPAGER \
|
|
EDITOR VISUAL \
|
|
LESSHISTFILE \
|
|
GREP_OPTIONS GREP_COLOR
|
|
|
|
[ `uname -s` = "Linux" ] && export MAIL="/var/mail/$USER"
|