Fix bat man paging
This commit is contained in:
parent
4fd80a7b6b
commit
436e8154dd
2
init.zsh
2
init.zsh
@ -100,7 +100,7 @@ if cmd_exists bat; then
|
|||||||
alias ncat="bat -pp --color=never"
|
alias ncat="bat -pp --color=never"
|
||||||
|
|
||||||
# Bat as man pager
|
# Bat as man pager
|
||||||
export MANPAGER="zsh -c 'col -bx | bat -l man -p --paging=always'"
|
export MANPAGER="zsh -c 'col -bx | bat -l man --paging=always --style=plain'"
|
||||||
export MANROFFOPT="-c"
|
export MANROFFOPT="-c"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user