Add bat.nix and update shell aliases
This commit is contained in:
9
home/shell/bat.nix
Normal file
9
home/shell/bat.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
programs.bat = {
|
||||||
|
enabled = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
home.shellAliases = {
|
||||||
|
cat = bat;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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; [
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
./eza.nix
|
./eza.nix
|
||||||
./atuin.nix
|
./atuin.nix
|
||||||
./autojump.nix
|
./autojump.nix
|
||||||
|
./bat.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user