Add utilities and bash aliases

This commit is contained in:
2024-03-29 13:31:25 +00:00
parent baf22a027e
commit b8eb0be65c

View File

@@ -17,8 +17,12 @@
obsidian obsidian
signal-desktop signal-desktop
fragments fragments
pitivi
pika-backup
neofetch neofetch
unzip unzip
eza
# Note to self: This config does not include games/benchmarks. I'm using flatpak for those. # Note to self: This config does not include games/benchmarks. I'm using flatpak for those.
@@ -207,6 +211,11 @@
}; };
}; };
programs.bat = {
enable = true;
extraPackages = with pkgs.bat-extras; [ batdiff batman batgrep ];
};
gtk = { gtk = {
enable = true; enable = true;
cursorTheme = { cursorTheme = {
@@ -280,9 +289,14 @@
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
shellAliases = { shellAliases = {
ls = "ls --color=auto"; l = "eza -alhM --git --total-size --icons";
grep = "grep --color=auto"; ls = "eza --icons";
ll = "eza -lhiM --git --total-size --icons --tree";
tree = "eza --tree";
grep = "batgrep";
code = "codium"; code = "codium";
cat = "bat";
man = "batman";
}; };
initExtra = "set completion-ignore-case On"; initExtra = "set completion-ignore-case On";
bashrcExtra = '' bashrcExtra = ''