aliases, eza

This commit is contained in:
Till 2026-03-07 10:54:40 +01:00
parent 8d0b874958
commit 5b344eacc5
3 changed files with 16 additions and 10 deletions

View file

@ -1,16 +1,6 @@
{ config, ... }:
{
home.shellAliases = {
top = "btm --battery";
du = "dust";
ymd = "date +'%Y-%m-%d'";
dmy = "date +'%-d.-%-m.%Y'";
r = "R --no-save --no-restore";
R = "R --no-save --no-restore";
cdg = "cd \$(git rev-parse --show-toplevel)";
};
programs.fish = {
enable = true;

View file

@ -6,7 +6,9 @@
home.homeDirectory = "/home/${config.home.username}";
home.packages = with pkgs; [
btm
dust
eza
fastfetch
fzf
jq
@ -20,6 +22,15 @@
yq
];
home.shellAliases = {
cdg = "cd \$(git rev-parse --show-toplevel)";
dmy = "date +'%-d.-%-m.%Y'";
du = "dust";
ls = "eza";
top = "btm --battery";
ymd = "date +'%Y-%m-%d'";
};
imports = [
../fish.nix
../vifm.nix

View file

@ -52,4 +52,9 @@ in
R-packed
RStudio-packed
];
home.shellAliases = {
r = "R --no-save --no-restore";
R = "R --no-save --no-restore";
};
}