@ -22,78 +22,12 @@ unsetopt BG_NICE # Don't run all background jobs at a lower priority.
@@ -22,78 +22,12 @@ unsetopt BG_NICE # Don't run all background jobs at a lower priority.
unsetopt HUP # Don't kill jobs on shell exit.
unsetopt CHECK_JOBS # Don't report on jobs when shell exit.
# Paths
typeset -gU cdpath fpath mailpath manpath path
typeset -gUT INFOPATH infopath
cdpath=(
$HOME
$cdpath
)
infopath=(
/usr/local/share/info
/usr/share/info
$infopath
)
manpath=(
/usr/local/share/man
/usr/share/man
$manpath
)
for path_file in /etc/manpaths.d/*(.N);do
manpath+=($(<$path_file))
done
unset path_file
path=(
/usr/local/{bin,sbin}
/usr/{bin,sbin}
/{bin,sbin}
$path
)
for path_file in /etc/paths.d/*(.N);do
path+=($(<$path_file))
done
unset path_file
# Language
if[[ -z "$LANG"]];then
eval"$(locale)"
fi
# Editors
exportEDITOR="vim"
exportVISUAL="vim"
exportPAGER='less'
# Grep
if zstyle -t ':omz:environment:grep' color;then
exportGREP_COLOR='37;45'
exportGREP_OPTIONS='--color=auto'
fi
# Browser (Default)
if[["$OSTYPE"== darwin* ]];then
exportBROWSER='open'
fi
# Less
exportLESSCHARSET="UTF-8"
exportLESSHISTFILE='-'
exportLESSEDIT='vim ?lm+%lm. %f'
# Mouse-wheel scrolling has been disabled by -X (disable screen clearing).
# Remove -X and -F (exit if the content fits on one screen) to enable it.