modules/home/programs/shell/fish.nix: add batman for paging

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-04-07 13:06:45 +03:00
parent ab17c1ce64
commit 4e5f1a4a3a

View File

@ -1,9 +1,10 @@
{ {
config, config,
pkgs,
lib, lib,
... ...
}: }: let
with lib; let inherit (lib) mkIf mkEnableOption getExe;
cfg = config.shell.fish; cfg = config.shell.fish;
in { in {
options = { options = {
@ -52,6 +53,7 @@ in {
set fish_greeting set fish_greeting
set fish_cursor_default block blink set fish_cursor_default block blink
set EDITOR hx set EDITOR hx
${getExe pkgs.bat-extras.batman} --export-env | source
''; '';
}; };
}; };