20 lines
409 B
Text
20 lines
409 B
Text
|
#!/usr/bin/env zsh
|
||
|
# vim:ft=zsh:
|
||
|
# Eryn Wells <eryn@erynwells.me>
|
||
|
|
||
|
function init_env
|
||
|
{
|
||
|
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 "$@"
|