From 1af11843ad0532ccf7bc8f37fec19d7376732d28 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Thu, 20 Feb 2025 19:28:55 -0800 Subject: [PATCH] Fix last commit --- init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.zsh b/init.zsh index 641e2c5..8b907d9 100644 --- a/init.zsh +++ b/init.zsh @@ -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