From 9899935183701b0bb67579f00c8a05ade30a1186 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Mon, 5 Jun 2023 11:04:08 -0400 Subject: [PATCH] add `bat` options --- modules/cli/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/cli/default.nix b/modules/cli/default.nix index df37dde..36fd22d 100644 --- a/modules/cli/default.nix +++ b/modules/cli/default.nix @@ -8,7 +8,6 @@ sconfig.powerline.enable = lib.mkDefault true; environment.systemPackages = with pkgs; [ - bat dnsutils du-dust entr @@ -46,6 +45,10 @@ (writeShellScriptBin "nr" "exec nix repl \"$(nix eval nixpkgs#path)\"") + (writeShellScriptBin "bat" '' + ${bat}/bin/bat --color=always --wrap=never --pager=never --terminal-width=80 "$@" + '') + (writeShellScriptBin "pip-install" '' nix run 'nixpkgs#python3.pkgs.pip' -- install --user --upgrade --break-system-packages pip '')