Unverified Commit 6bc4c80c authored by Ahmed Wael's avatar Ahmed Wael Committed by GitHub

fix(colored-man-pages): add env GROFF_NO_SGR=1 (#11831)

parent b81915d3
......@@ -36,6 +36,7 @@ function colored() {
# Prefer `less` whenever available, since we specifically configured
# environment for it.
environment+=( PAGER="${commands[less]:-$PAGER}" )
environment+=( GROFF_NO_SGR=1 )
# See ./nroff script.
if [[ "$OSTYPE" = solaris* ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment