From 72285c99fb302ec628c27dd33bed9df7b97dc3c3 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 29 Aug 2025 17:07:03 -0700 Subject: use eza in eshell --- home/programs/emacs/init.el | 5 +++++ home/programs/eza.nix | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'home') 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"; }; } -- cgit v1.2.3