From 6a88e8889ebd3ec08f12de0a271291a4c5f65f58 Mon Sep 17 00:00:00 2001 From: traxys Date: Tue, 5 Mar 2024 14:53:24 +0100 Subject: [PATCH] minimal: Use batman instead of $MANPAGER --- minimal/hm.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/minimal/hm.nix b/minimal/hm.nix index 8d8d216..91f136a 100644 --- a/minimal/hm.nix +++ b/minimal/hm.nix @@ -34,9 +34,6 @@ PYTHONSTARTUP = "${XDG_CONFIG_HOME}/python/pythonrc"; RUSTUP_HOME = "${XDG_DATA_HOME}/rustup"; WINEPREFIX = "${XDG_DATA_HOME}/wine"; - - MANPAGER = "sh -c 'col -bx | bat -l man -p'"; - MANROFFOPT = "-c"; }; home.packages = with pkgs; [ @@ -220,6 +217,7 @@ shellAliases = { cat = "${pkgs.bat}/bin/bat -p"; ls = "${pkgs.eza}/bin/eza --icons"; + man = "${lib.getExe pkgs.bat-extras.batman}"; }; };