env: organize MANPAGER variable setting

This commit is contained in:
PowerUser64 2025-04-08 01:18:01 -07:00
parent 2f268580d2
commit e32deeca76

View file

@ -91,12 +91,11 @@ export LSCOLORS="Gxfxcxdxbxegedabagacad"
# `less` colors
# shellcheck disable=SC2016
export LESS='-R --use-color -Dd+g$Du+b'
export MANPAGER="less -R --use-color -Dd+g -Du+b"
# Neovim for man pages
if command -v nvim > /dev/null; then
export MANPAGER='nvim +Man!'
else
export MANPAGER="less -R --use-color -Dd+g -Du+b"
fi
# Theme for zsh and nvim (soon™)