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

master
Ahmed Wael 3 years ago committed by GitHub
parent b81915d329
commit 6bc4c80c7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      plugins/colored-man-pages/colored-man-pages.plugin.zsh

@ -36,6 +36,7 @@ function colored() {
# Prefer `less` whenever available, since we specifically configured # Prefer `less` whenever available, since we specifically configured
# environment for it. # environment for it.
environment+=( PAGER="${commands[less]:-$PAGER}" ) environment+=( PAGER="${commands[less]:-$PAGER}" )
environment+=( GROFF_NO_SGR=1 )
# See ./nroff script. # See ./nroff script.
if [[ "$OSTYPE" = solaris* ]]; then if [[ "$OSTYPE" = solaris* ]]; then

Loading…
Cancel
Save