From 93ac26652e08e0a72320b865e94ea5d459cc9c88 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 11 Aug 2023 14:37:14 -0400 Subject: [PATCH] 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 - https://gitlab.archlinux.org/archlinux/packaging/packages/groff/-/commit/958e73c5086d99c87c0d2319088931e1771a42d8 - https://bbs.archlinux.org/viewtopic.php?pid=2113876#p2113876 --- home/fish.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home/fish.nix b/home/fish.nix index d60f5c7..e1ce004 100644 --- a/home/fish.nix +++ b/home/fish.nix @@ -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