From 67f363abc986430b8d0ed744d705a196f5f3fb15 Mon Sep 17 00:00:00 2001 From: punkfairie <23287005+punkfairie@users.noreply.github.com> Date: Sun, 29 Sep 2024 21:41:35 -0700 Subject: [PATCH] Update .config/fish/conf.d/30-man.fish --- dot_config/fish/conf.d/30-man.fish | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/dot_config/fish/conf.d/30-man.fish b/dot_config/fish/conf.d/30-man.fish index c8a8d58..ef39b8b 100644 --- a/dot_config/fish/conf.d/30-man.fish +++ b/dot_config/fish/conf.d/30-man.fish @@ -1,11 +1,5 @@ #!/usr/bin/env fish -if command -v bat &>/dev/null - set batcmd bat -else if command -v batcat &>/dev/null - set batcmd batcat -end - -if set -q batcmd - set -gx MANPAGER "sh -c 'col -bx | $batcmd -l man -p'" +if command -v most &>/dev/null + set -gx MANPAGER "sh -c 'col -bx | most'" end