[zsh] Remove init-env-unix

This stuff was folded into init-env.
This commit is contained in:
Eryn Wells 2024-09-26 16:13:21 -07:00
parent b2974db133
commit 71cf2d52f6
2 changed files with 0 additions and 21 deletions

View file

@ -1,20 +0,0 @@
# Eryn Wells <eryn@erynwells.me>
autoload -Uz binary_exists
function init-env-unix
{
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-env-unix "$@"

1
zshenv
View file

@ -30,7 +30,6 @@ autoload -Uz do_init_functions
typeset -a zsh_init_env_functions=( \
init-env \
init-env-path \
init-env-unix \
init-env-python \
init-env-playdate \
init-env-vi \