mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 01:03:41 +01:00
fix(colored-man-pages): add env GROFF_NO_SGR=1 (#11831)
This commit is contained in:
parent
b81915d329
commit
6bc4c80c7d
@ -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…
Reference in New Issue
Block a user