1
0
forked from extern/nix-config

fix: Use MANROFFOPT for color support in man pages

This fixes a regression where color support stopped working after a
groff update.

References:

- https://github.com/jedsoft/most/issues/18
- 958e73c508
- https://bbs.archlinux.org/viewtopic.php?pid=2113876#p2113876
This commit is contained in:
Donovan Glover 2023-08-11 14:37:14 -04:00
parent 290cac5587
commit 93ac26652e
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -17,6 +17,7 @@
set -x -U LESS_TERMCAP_so (printf "\e[01;44;30m")
set -x -U LESS_TERMCAP_ue (printf "\e[0m")
set -x -U LESS_TERMCAP_us (printf "\e[01;32m")
set -x -U MANROFFOPT "-c"
# Always use the default keybindings in fish
fish_default_key_bindings