aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeposite Pirate2025-03-29 11:15:59 +0100
committerDeposite Pirate2025-03-29 11:15:59 +0100
commit17362601d179c2d9f1fe283b5ec9b922f8dc5fc0 (patch)
tree187900d132598bf263227dd351216df2feb7cd9f
parent32cc073a948f499ba16607dff33c70c8d6486c74 (diff)
'bat' with manpages only works on Linux
modified: conf.d/04editor.fish
-rw-r--r--conf.d/04editor.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.d/04editor.fish b/conf.d/04editor.fish
index 71b0cd8..5477860 100644
--- a/conf.d/04editor.fish
+++ b/conf.d/04editor.fish
@@ -97,7 +97,7 @@ if status is-interactive
alias rawpager 'more'
end
- if command -sq 'bat'
+ if command -sq 'bat'; and test (uname) = 'Linux'
set -x MANROFFOPT '-c'
set -x MANPAGER 'fish -c "col -bx | bat -l man -p"'
end