Add bat.nix and update shell aliases

This commit is contained in:
panotaka
2023-11-25 23:17:23 -04:00
parent a22135bec2
commit d18c3ba50c
3 changed files with 11 additions and 0 deletions

9
home/shell/bat.nix Normal file
View File

@@ -0,0 +1,9 @@
{
programs.bat = {
enabled = true;
};
home.shellAliases = {
cat = bat;
};
}

View File

@@ -4,6 +4,7 @@
{ {
home.shellAliases = { home.shellAliases = {
sudo = "sudo --preserve-env=PATH"; sudo = "sudo --preserve-env=PATH";
"\\" = "command";
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [

View File

@@ -9,6 +9,7 @@
./eza.nix ./eza.nix
./atuin.nix ./atuin.nix
./autojump.nix ./autojump.nix
./bat.nix
]; ];
} }