Fix last commit

This commit is contained in:
Alexander Rosenberg 2025-02-20 19:28:55 -08:00
parent 743332253a
commit 1af11843ad
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -170,7 +170,7 @@ if ! [[ -z "${bat_exec}" ]]; then
alias ncat="${bat_exec} -pp --color=never"
# Bat as man pager
if [[ "${bat_exec}" = */bat ]]; then
if [[ "${bat_exec}" = (bat|*/bat) ]]; then
export MANPAGER="zsh -c 'col -bx | ${bat_exec} -l man --paging=always --style=plain'"
export MANROFFOPT="-c"
fi