Add colors to man pages.

This commit is contained in:
giomba 2024-05-31 12:24:05 +02:00
parent c6ecf1dc05
commit 04af7e4544

6
zshrc
View File

@ -3871,6 +3871,12 @@ export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)" eval "$(pyenv init -)"
# Use colors in man pages
# This used to work effortlessly just a few months ago,
# I don't know what actually changed, and I have to admit that this
# looks a bit like a dirty hack workaround.
export GROFF_NO_SGR=1
## END OF FILE ################################################################# ## END OF FILE #################################################################
# vim:filetype=zsh foldmethod=marker autoindent expandtab shiftwidth=4 # vim:filetype=zsh foldmethod=marker autoindent expandtab shiftwidth=4
# Local variables: # Local variables: