1 2 3 4 5 6 7 8 9
#!/bin/sh if command -v bat >/dev/null 2>&1; then export BAT_THEME="base16" if [ "${MANPAGER}" == "bat" ]; then export MANPAGER="sh -c 'col -bx | bat -l man -p'" fi fi
Consider giving Nix/NixOS a try! <3