diff --git a/home/shell/bat.nix b/home/shell/bat.nix new file mode 100644 index 0000000..9230bc1 --- /dev/null +++ b/home/shell/bat.nix @@ -0,0 +1,9 @@ +{ + programs.bat = { + enabled = true; + }; + + home.shellAliases = { + cat = bat; + }; +} diff --git a/home/shell/common.nix b/home/shell/common.nix index 00a1cc7..f4b8345 100644 --- a/home/shell/common.nix +++ b/home/shell/common.nix @@ -4,6 +4,7 @@ { home.shellAliases = { sudo = "sudo --preserve-env=PATH"; + "\\" = "command"; }; home.packages = with pkgs; [ diff --git a/home/shell/default.nix b/home/shell/default.nix index 2ed4e4f..3fa200b 100644 --- a/home/shell/default.nix +++ b/home/shell/default.nix @@ -9,6 +9,7 @@ ./eza.nix ./atuin.nix ./autojump.nix + ./bat.nix ]; }