# Eryn Wells autoload -Uz binary_exists function init-unix-env { export PAGER="less" export MANPAGER=$PAGER export VISUAL=$EDITOR export LESSHISTFILE="-" export GREP_OPTIONS="--color=auto" export GREP_COLOR="1;32" if binary_exists gpg2; then # Make sure gpg2 knows what to do with the curses-based smartcard PIN prompt. export GPG_TTY=`tty` fi } init-unix-env "$@"