Commit 8d91347
committed
fix(zsh): set manpager correctly for batman pager mode
MANPAGER=batman alone makes man(1) invoke batman with no args, which falls
into the fzf-search branch and discards the formatted page from stdin. Wrap
with BATMAN_IS_BEING_MANPAGER=yes so batman runs as a pager, and set
MANROFFOPT=-c per `batman --export-env` to suppress mandoc's SGR escapes
before bat re-highlights.1 parent 15baff7 commit 8d91347
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
0 commit comments