2021-12-31 10:27:27 -08:00
|
|
|
#!/usr/bin/env zsh
|
|
|
|
# vim:ft=zsh:
|
|
|
|
# Eryn Wells <eryn@erynwells.me>
|
|
|
|
|
|
|
|
function init_env
|
|
|
|
{
|
2022-01-22 09:03:43 -08:00
|
|
|
shell-log 'Initializing basic environment'
|
|
|
|
|
2021-12-31 10:27:27 -08:00
|
|
|
export PAGER="less"
|
|
|
|
export MANPAGER=$PAGER
|
|
|
|
export EDITOR="vim"
|
|
|
|
export VISUAL=$EDITOR
|
|
|
|
export LESSHISTFILE="-"
|
|
|
|
export GREP_OPTIONS="--color=auto"
|
|
|
|
export GREP_COLOR="1;32"
|
|
|
|
|
|
|
|
# Make sure gpg2 knows what to do with the curses-based smartcard PIN prompt.
|
|
|
|
export GPG_TTY=`tty`
|
|
|
|
}
|
|
|
|
|
|
|
|
init_env "$@"
|