From 6fd9e72e4952ae5cbfaf0953e394227d2caf23fb Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Tue, 30 Apr 2024 11:30:44 +0200 Subject: [PATCH] replace ls with eza --- home-manager/shared/default.nix | 1 + home-manager/shared/shell/eza.nix | 8 ++++++++ home-manager/shared/shell/zsh.nix | 1 + 3 files changed, 10 insertions(+) create mode 100644 home-manager/shared/shell/eza.nix diff --git a/home-manager/shared/default.nix b/home-manager/shared/default.nix index 0233f57..2329b2d 100644 --- a/home-manager/shared/default.nix +++ b/home-manager/shared/default.nix @@ -11,6 +11,7 @@ ./shell/zellij.nix ./shell/zsh.nix ./shell/starship.nix + ./shell/eza.nix ]; home = { username = "lillian"; diff --git a/home-manager/shared/shell/eza.nix b/home-manager/shared/shell/eza.nix new file mode 100644 index 0000000..6c874a7 --- /dev/null +++ b/home-manager/shared/shell/eza.nix @@ -0,0 +1,8 @@ +{lib, ...}: { + programs.eza = { + enable = true; + enableZshIntegration = true; + git = true; + icons = true; + }; +} diff --git a/home-manager/shared/shell/zsh.nix b/home-manager/shared/shell/zsh.nix index 0ea7244..fcd99f8 100644 --- a/home-manager/shared/shell/zsh.nix +++ b/home-manager/shared/shell/zsh.nix @@ -15,6 +15,7 @@ shellAliases = { cd = "z"; code = "codium ./"; + ls = "eza"; lh = "ls -lah"; cat = "bat"; tree = "tre";