bat-extras icon indicating copy to clipboard operation
bat-extras copied to clipboard

How do I set `MANPAGER` to batman?

Open peterlobster opened this issue 2 years ago • 2 comments

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: image

$ batman man

Result: image

peterlobster avatar Aug 08 '22 16:08 peterlobster

Not sure if this is the intended method, but you can

alias man='batman'

Then just use man like normal.

tcoliver avatar Jan 13 '23 12:01 tcoliver

Sorry for the late response. @tcoliver is correct, that's the intended method :)

eth-p avatar Jan 13 '23 21:01 eth-p

Clarified the documentation surrounding this in c9e917e.

eth-p avatar Feb 12 '24 23:02 eth-p