From 5b04f221a3f045b538123f380486e636755aa06d Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sat, 14 Sep 2024 07:14:22 +0200 Subject: [PATCH] __fish_anypager: remove bat from default choice As pointed out in https://github.com/fish-shell/fish-shell/commit/b83f3b0e982c89e2dc2c2fc23b950b84d7ee8d19#commitcomment-146189480 bat is not actually useful. Also its (monochrome) output is unreadable on my system. --- share/functions/__fish_anypager.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_anypager.fish b/share/functions/__fish_anypager.fish index 0d9bc2d99..7426c5911 100644 --- a/share/functions/__fish_anypager.fish +++ b/share/functions/__fish_anypager.fish @@ -17,7 +17,7 @@ function __fish_anypager --description "Print a pager to use" end # Cheesy hardcoded list of pagers. - for cmd in less bat lv most more + for cmd in less lv most more if command -q $cmd echo -- $cmd return 0