diff options
| author | Deposite Pirate | 2025-03-29 11:15:59 +0100 |
|---|---|---|
| committer | Deposite Pirate | 2025-03-29 11:15:59 +0100 |
| commit | 17362601d179c2d9f1fe283b5ec9b922f8dc5fc0 (patch) | |
| tree | 187900d132598bf263227dd351216df2feb7cd9f /conf.d | |
| parent | 32cc073a948f499ba16607dff33c70c8d6486c74 (diff) | |
'bat' with manpages only works on Linux
modified: conf.d/04editor.fish
Diffstat (limited to 'conf.d')
| -rw-r--r-- | conf.d/04editor.fish | 2 |
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 |
