From 7bd21254384824547a49f0dbdb181491b4174186 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sun, 30 Oct 2022 20:43:49 -0400 Subject: [PATCH] fix: actually use exa for ls --- modules/shell/fish/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/shell/fish/default.nix b/modules/shell/fish/default.nix index d4dd300..55e00e0 100644 --- a/modules/shell/fish/default.nix +++ b/modules/shell/fish/default.nix @@ -7,10 +7,11 @@ home-manager.users.${config.user} = { # Packages used in abbreviations and aliases - home.packages = with pkgs; [ curl ]; + home.packages = with pkgs; [ curl exa ]; programs.fish = { enable = true; + shellAliases = { ls = "exa"; }; functions = { commandline-git-commits = { description = "Insert commit into commandline"; @@ -41,7 +42,6 @@ description = "Tidy up JSON using jq"; body = "pbpaste | jq '.' | pbcopy"; # Need to fix for non-macOS }; - ls = { body = "${pkgs.exa}/bin/exa $argv"; }; note = { description = "Edit or create a note"; argumentNames = "filename";