mirror of
https://github.com/eth-p/bat-extras.git
synced 2024-12-14 02:00:40 +01:00
Fix batman.sh incorrectly disabling the pager
This commit is contained in:
parent
8339354189
commit
7cabaa620d
@ -25,7 +25,6 @@ fi
|
|||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
export MANPAGER='sh -c "col -bx | '"$(printf "%q" "$BAT")"' --language=man --style=grid '"${BAT_ARGS[@]}"'"'
|
export MANPAGER='sh -c "col -bx | '"$(printf "%q" "$BAT")"' --language=man --style=grid '"${BAT_ARGS[@]}"'"'
|
||||||
export MANROFFOPT='-c'
|
export MANROFFOPT='-c'
|
||||||
export BAT_PAGER="$PAGER"
|
|
||||||
|
|
||||||
command man "${MAN_ARGS[@]}"
|
command man "${MAN_ARGS[@]}"
|
||||||
exit $?
|
exit $?
|
||||||
|
Loading…
Reference in New Issue
Block a user