diff --git a/.zshenv b/.zshenv index dd0e51c..6433afd 100644 --- a/.zshenv +++ b/.zshenv @@ -53,6 +53,11 @@ if [[ -n ${DISPLAY+set} ]]; then fi # }}} +if command -v bat >/dev/null; then + export PAGER=bat + export MANPAGER="sh -c 'col -bx | bat -l man -p'" +fi + # Uncrustify export UNCRUSTIFY_CONFIG="${XDG_CONFIG_HOME}/uncrustify/uncrustify.cfg" [ ! -r "${UNCRUSTIFY_CONFIG}" ] && unset UNCRUSTIFY_CONFIG