From 190bf349658ceb6f64c6d69cdccbddfb5491f894 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sat, 16 Sep 2023 14:47:29 +0300 Subject: 2023-09-16 --- modules/common/bat.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'modules/common/bat.nix') 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 '' -- cgit 1.4.1