From 5b4d4791f3ff86d9183d59bf2f010a62c9c1eb5d Mon Sep 17 00:00:00 2001 From: jolheiser Date: Sat, 8 Jul 2023 22:49:54 -0500 Subject: [PATCH] feat: exa Signed-off-by: jolheiser --- apps/default.nix | 1 + apps/exa.nix | 16 ++++++++++++++++ apps/nushell.nix | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 apps/exa.nix diff --git a/apps/default.nix b/apps/default.nix index ae51405..f2137ce 100644 --- a/apps/default.nix +++ b/apps/default.nix @@ -6,6 +6,7 @@ imports = [ ./bat.nix ./bottom.nix + ./exa.nix ./firefox.nix ./fzf.nix ./gpg.nix diff --git a/apps/exa.nix b/apps/exa.nix new file mode 100644 index 0000000..d2e3c54 --- /dev/null +++ b/apps/exa.nix @@ -0,0 +1,16 @@ +{ + programs.exa = { + enable = true; + # These don't affect nushell currently + # git = true; + # icons = true; + }; + programs.nushell.shellAliases = { + exa = "exa --git --icons"; + ls = "exa"; + ll = "exa -l"; + la = "exa -a"; + lt = "exa --tree"; + lla = "exa -la"; + }; +} diff --git a/apps/nushell.nix b/apps/nushell.nix index 99c5f26..66a2b7d 100644 --- a/apps/nushell.nix +++ b/apps/nushell.nix @@ -8,7 +8,7 @@ find = "fd"; df = "duf"; du = "dust -b -d 1"; - ll = "ls -al"; + # ll = "ls -al"; # Handled by exa }; extraConfig = '' use ${pkgs.nu_scripts}/share/nu_scripts/custom-completions/bitwarden-cli/bitwarden-cli-completions.nu *