1
0
Fork 0

Make bat manpager print from top
All checks were successful
/ build-gnome (push) Successful in 13m47s
/ build-kde (push) Successful in 18m53s

If a manual is short enough to fit into first screen, the manual will
not start at the top of the terminal because it's painted from bottom to
top. This makes less print from top to bottom, making the behavior
consistent between long and short manuals.
This commit is contained in:
ver4a 2025-03-26 13:58:13 +01:00
parent 9ab7accb63
commit 8d03443759

View file

@ -1,2 +1,2 @@
export MANPAGER="sh -c 'col -bx | LESS="RK" bat -l man --decorations=never --paging=always'" export MANPAGER="sh -c 'col -bx | LESS="RKC" bat -l man --decorations=never --paging=always'"
export MANROFFOPT="-c" export MANROFFOPT="-c"