diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-09-16 14:47:29 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-09-16 14:47:29 +0300 |
commit | 190bf349658ceb6f64c6d69cdccbddfb5491f894 (patch) | |
tree | 33a563624d4725cc042f7dc2f805078e8f34818e /modules/common/bat.nix | |
parent | 2023-09-16 (diff) |
2023-09-16
Diffstat (limited to 'modules/common/bat.nix')
-rw-r--r-- | modules/common/bat.nix | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/modules/common/bat.nix b/modules/common/bat.nix index 2b31d16..e2d5da1 100644 --- a/modules/common/bat.nix +++ b/modules/common/bat.nix @@ -1,7 +1,6 @@ { config, lib, - pkgs, ... }: with lib; let @@ -23,11 +22,9 @@ in { }; bash = { - shellAliases = let - bat = "${pkgs.bat}/bin/bat"; - in { - bay = "${bat} --language=yaml --tabs 2"; - baj = "${bat} --language=json --tabs 2"; + shellAliases = { + bay = "bat --language=yaml --tabs 2"; + baj = "bat --language=json --tabs 2"; }; initExtra = mkAfter '' |