bat-extras
bat-extras copied to clipboard
How do I set `MANPAGER` to batman?
For some reason, when I try to set MANPAGER
to batman (on my Gentoo) it doesn't work. When I use the method on bat
, it does work but I think it doesn't like it.
Here's what I get when I set MANPAGER
to batman
$ printenv | grep MANPAGER
MANPAGER=batman
$ man man
Result:
$ batman man
Result:
Not sure if this is the intended method, but you can
alias man='batman'
Then just use man like normal.
Sorry for the late response. @tcoliver is correct, that's the intended method :)
Clarified the documentation surrounding this in c9e917e.