From 73b9d8f001d1d88b4c71b1097fba58b5d77814b8 Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Fri, 27 Oct 2023 08:57:31 +0200 Subject: [PATCH] Fix bat as a manpager --- zsh/.config/zsh/.zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index da44e7d..362c3e4 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -294,6 +294,9 @@ if (( $+commands[bat] )); then export MANPAGER="sh -c 'col -bx | bat -l man -p'" # And replace cat while we're at it alias cat='bat' + + # According to upstream, "if you have problems add this." I have problems. + export MANROFFOPT="-c" fi # Source Nix if it's installed. Should be done by the WM, but it isn't