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