From 31eb7f517d10d13f1d9dc6216cc01fb58a196a9b Mon Sep 17 00:00:00 2001 From: ooks-io Date: Mon, 16 Oct 2023 11:01:36 +1300 Subject: [PATCH] bat alias --- home/ooks/opt/shell/fish.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/ooks/opt/shell/fish.nix b/home/ooks/opt/shell/fish.nix index ed23391..f342376 100644 --- a/home/ooks/opt/shell/fish.nix +++ b/home/ooks/opt/shell/fish.nix @@ -6,6 +6,7 @@ let hasNeovim = config.programs.neovim.enable; hasKitty = config.programs.kitty.enable; hasTre = hasPackage "tre-command"; + hasBat = hasPackage "bat"; in { programs.fish = { @@ -32,6 +33,8 @@ in ls = mkIf hasEza "eza"; + cat = mkIf hasBat "bat"; + vim = mkIf hasNeovim "nvim"; };