diff --git a/modules/bat.nix b/modules/bat.nix index 2e8ef81..b9de9b1 100644 --- a/modules/bat.nix +++ b/modules/bat.nix @@ -6,13 +6,12 @@ homeConfiguration { PAGER = ''"bat --plain"''; }; - programs.nushell.shellAliases = { - cat = "bat"; - less = "bat --plain"; - }; + programs.nushell.shellAliases.cat = "bat"; programs.bat = enabled { config.theme = "base16"; themes.base16.src = pkgs.writeText "base16.tmTheme" theme.tmTheme; + + config.pager = "less -FR"; }; }