Add ls, cat and less replacement
This commit is contained in:
parent
d1423bfe00
commit
51bc9ff9d6
3 changed files with 28 additions and 0 deletions
13
home-manager/cli/bat.nix
Normal file
13
home-manager/cli/bat.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
_:{
|
||||||
|
programs.bat = {
|
||||||
|
enable = true;
|
||||||
|
config = {
|
||||||
|
theme = "base16";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.zsh.shellAliases = {
|
||||||
|
cat = "bat";
|
||||||
|
less = "bat";
|
||||||
|
};
|
||||||
|
}
|
|
@ -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
13
home-manager/cli/eza.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ pkgs, ...}:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
eza
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.zsh.shellAliases = {
|
||||||
|
ls = "eza";
|
||||||
|
};
|
||||||
|
home.sessionVariables = {
|
||||||
|
EXA_COLORS = "xx=2";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue