linuxfromscratch:colored_manpage_with_bat

Source code repo: https://github.com/sharkdp/bat

Binary package: bat-v0.24.0-x86_64-unknown-linux-gnu.tar.gz

tar -xf bat-v0.24.0-x86_64-unknown-linux-gnu.tar.gz
sudo cp bat <any directory in $PATH>

Man page pager replace:
~/.bash_profile or ~/.bashrc or /etc/profile.d/manpager.sh

export MANPAGER="sh -c 'col -bx | bat -l man -p'"
export MANROFFOPT="-c"

  • linuxfromscratch/colored_manpage_with_bat.txt
  • 마지막으로 수정됨: 2024/07/11 14:08
  • 저자 baecy