Make bat manpager print from top
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:
parent
9ab7accb63
commit
8d03443759
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue