diff --git a/dot_config/fish/conf.d/30-man.fish b/dot_config/fish/conf.d/30-man.fish index a50fd85..c8a8d58 100644 --- a/dot_config/fish/conf.d/30-man.fish +++ b/dot_config/fish/conf.d/30-man.fish @@ -1,5 +1,11 @@ #!/usr/bin/env fish -if command -v most &>/dev/null - set -gx MANPAGER most +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'" end diff --git a/dot_config/packages/archgirlie b/dot_config/packages/archgirlie index c650bb8..0c2bc8a 100644 --- a/dot_config/packages/archgirlie +++ b/dot_config/packages/archgirlie @@ -1,4 +1,3 @@ - -> Avoid running yay as root/sudo. aic94xx-firmware alsa-utils amfora