diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-01-13 17:42:32 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-01-13 17:42:41 -0800 |
| commit | 357c73dbb516008aacd19a878cc621ebf8a20f21 (patch) | |
| tree | 611ddf83fc65c17c5aa93d8526cf5bf193ff84af /nix/users/fcuny/shell.nix | |
| parent | Merge pull request #3 from fcuny/update_flake_lock_action (diff) | |
| download | infra-357c73dbb516008aacd19a878cc621ebf8a20f21.tar.gz | |
enable eza again and add more git aliases
Diffstat (limited to '')
| -rw-r--r-- | nix/users/fcuny/shell.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/nix/users/fcuny/shell.nix b/nix/users/fcuny/shell.nix index b415038..bcac8c6 100644 --- a/nix/users/fcuny/shell.nix +++ b/nix/users/fcuny/shell.nix @@ -51,6 +51,24 @@ in g = "git"; gap = "git add --patch"; }; + shellAliases = { + la = "eza -la --git --color=always --group-directories-first"; + ll = "eza -la -L=1 --git --color=always --group-directories-first"; + lt = "eza -aT -L=2 --git --color=always --group-directories-first"; + }; + }; + + # an alternative to ls + programs.eza = { + enable = true; + icons = "never"; + enableFishIntegration = false; + extraOptions = [ + "--group-directories-first" + "--no-quotes" + "--git-ignore" + "--icons=never" + ]; }; # an alternative to find |
