Add ls, cat and less replacement

This commit is contained in:
Yorick Barbanneau 2023-09-23 19:52:26 +02:00
parent d1423bfe00
commit 51bc9ff9d6
3 changed files with 28 additions and 0 deletions

13
home-manager/cli/bat.nix Normal file
View file

@ -0,0 +1,13 @@
_:{
programs.bat = {
enable = true;
config = {
theme = "base16";
};
};
programs.zsh.shellAliases = {
cat = "bat";
less = "bat";
};
}

View file

@ -7,5 +7,7 @@
./gnupg.nix ./gnupg.nix
./neovim.nix ./neovim.nix
./vifm ./vifm
./bat.nix
./eza.nix
]; ];
} }

13
home-manager/cli/eza.nix Normal file
View file

@ -0,0 +1,13 @@
{ pkgs, ...}:
{
home.packages = with pkgs; [
eza
];
programs.zsh.shellAliases = {
ls = "eza";
};
home.sessionVariables = {
EXA_COLORS = "xx=2";
};
}