dot-files/scripts/batman

9 lines
170 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
export MANPAGER='sh -c "col -bx | bat --language man --style grid"'
export MANROFFOPT='-c'
export BAT_PAGER="$PAGER $LESS"
command man "$@"
exit $?