dotfiles/zsh/funcs/batman

4 lines
108 B
Text

command -v bat > /dev/null
if [[ $? -eq 0 ]]; then
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
fi