From 5ce9a26441866be4153a1a71ac91ecdfca5a084c Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Tue, 1 Aug 2023 08:14:06 -0400 Subject: [PATCH] fix: exa ls not showing group names --- modules/common/shell/fish/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/common/shell/fish/default.nix b/modules/common/shell/fish/default.nix index 7b3e9c2..9c57b77 100644 --- a/modules/common/shell/fish/default.nix +++ b/modules/common/shell/fish/default.nix @@ -12,8 +12,14 @@ programs.fish = { enable = true; shellAliases = { + + # Version of bash which works much better on the terminal bash = "${pkgs.bashInteractive}/bin/bash"; - ls = "exa"; + + # Use exa instead of ls for fancier output + ls = "exa --group"; + + # Move files to XDG trash on the commandline trash = lib.mkIf pkgs.stdenv.isLinux "${pkgs.trash-cli}/bin/trash-put"; }; functions = {