diff --git a/zsh/.zshrc b/zsh/.zshrc index e1bb421..f85513c 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -210,6 +210,10 @@ autoload -U +X bashcompinit && bashcompinit # See: # - https://boredzo.org/blog/archives/2016-08-15/colorized-man-pages-understood-and-customized # - https://unix.stackexchange.com/a/600214 +# - Since mid 2023 this is needed on Debian sid (and probably other distros too): +# - https://stackoverflow.com/a/32456403 +# - https://bbs.archlinux.org/viewtopic.php?pid=2113876#p2113876 +# - https://savannah.gnu.org/bugs/?func=detailitem&item_id=63583 # Careful with "" char, it may appear as "^[" in some text editors! man() { env \ @@ -220,6 +224,7 @@ man() { LESS_TERMCAP_so="" \ LESS_TERMCAP_ue="" \ LESS_TERMCAP_us="" \ + MANROFFOPT=-c \ man "$@" }