From 17362601d179c2d9f1fe283b5ec9b922f8dc5fc0 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sat, 29 Mar 2025 11:15:59 +0100 Subject: 'bat' with manpages only works on Linux modified: conf.d/04editor.fish --- conf.d/04editor.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.d/04editor.fish b/conf.d/04editor.fish index 71b0cd8..5477860 100644 --- a/conf.d/04editor.fish +++ b/conf.d/04editor.fish @@ -97,7 +97,7 @@ if status is-interactive alias rawpager 'more' end - if command -sq 'bat' + if command -sq 'bat'; and test (uname) = 'Linux' set -x MANROFFOPT '-c' set -x MANPAGER 'fish -c "col -bx | bat -l man -p"' end -- cgit v1.3.1