diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-08-29 17:07:03 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-08-29 17:08:21 -0700 |
| commit | 72285c99fb302ec628c27dd33bed9df7b97dc3c3 (patch) | |
| tree | 474a74c60fc2f151e0400fda284dbf19136c641e /home/programs | |
| parent | make `nomad-prod` work for all production nomad cells (diff) | |
| download | infra-72285c99fb302ec628c27dd33bed9df7b97dc3c3.tar.gz | |
use eza in eshell
Diffstat (limited to '')
| -rw-r--r-- | home/programs/emacs/init.el | 5 | ||||
| -rw-r--r-- | home/programs/eza.nix | 8 |
2 files changed, 10 insertions, 3 deletions
diff --git a/home/programs/emacs/init.el b/home/programs/emacs/init.el index b19f78a..e803900 100644 --- a/home/programs/emacs/init.el +++ b/home/programs/emacs/init.el @@ -36,6 +36,11 @@ (eshell-stringify-t nil) (eshell-term-name "ansi")) +(eshell/alias "ls" "eza $*") +(eshell/alias "la" "eza -la $*") +(eshell/alias "ll" "eza -la -L=1 $*") +(eshell/alias "lt" "eza -aT -L=2 $*") + ;;; init.el ends here ;; byte-compile-warnings: (not docstrings lexical noruntime) ;; End: diff --git a/home/programs/eza.nix b/home/programs/eza.nix index d0326f6..f71b9b6 100644 --- a/home/programs/eza.nix +++ b/home/programs/eza.nix @@ -3,6 +3,8 @@ programs.eza = { enable = true; icons = "never"; + colors = "always"; + git = true; enableFishIntegration = false; extraOptions = [ "--group-directories-first" @@ -13,8 +15,8 @@ }; programs.fish.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"; + la = "eza -la"; + ll = "eza -la -L=1"; + lt = "eza -aT -L=2"; }; } |
