From 70ee860eac1e757e5d05b2c092863fba98400071 Mon Sep 17 00:00:00 2001 From: ver4a Date: Sat, 16 Nov 2024 12:32:00 +0100 Subject: [PATCH] Force paging for short manuals This is done to match default "man" behavior without bat. --- etc/profile.d/bat-manpager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/profile.d/bat-manpager.sh b/etc/profile.d/bat-manpager.sh index e0ac417..59d411c 100644 --- a/etc/profile.d/bat-manpager.sh +++ b/etc/profile.d/bat-manpager.sh @@ -1,2 +1,2 @@ -export MANPAGER="sh -c 'col -bx | bat -l man -p'" +export MANPAGER="sh -c 'col -bx | bat -l man --decorations=never --paging=always'" export MANROFFOPT="-c"