env: organize MANPAGER variable setting
This commit is contained in:
parent
2f268580d2
commit
e32deeca76
1 changed files with 1 additions and 2 deletions
|
@ -91,12 +91,11 @@ export LSCOLORS="Gxfxcxdxbxegedabagacad"
|
||||||
# `less` colors
|
# `less` colors
|
||||||
# shellcheck disable=SC2016
|
# shellcheck disable=SC2016
|
||||||
export LESS='-R --use-color -Dd+g$Du+b'
|
export LESS='-R --use-color -Dd+g$Du+b'
|
||||||
|
export MANPAGER="less -R --use-color -Dd+g -Du+b"
|
||||||
|
|
||||||
# Neovim for man pages
|
# Neovim for man pages
|
||||||
if command -v nvim > /dev/null; then
|
if command -v nvim > /dev/null; then
|
||||||
export MANPAGER='nvim +Man!'
|
export MANPAGER='nvim +Man!'
|
||||||
else
|
|
||||||
export MANPAGER="less -R --use-color -Dd+g -Du+b"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Theme for zsh and nvim (soon™)
|
# Theme for zsh and nvim (soon™)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue