From c23655ad39068c999bf31f3976601dbbbad4904b Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 16 Jun 2023 13:37:34 -0400 Subject: [PATCH] fish: Add target to tree ignore This prevents the directory listing from becoming abnormally large with rust projects. --- modules/fish-starship/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/fish-starship/default.nix b/modules/fish-starship/default.nix index 185fd7c..ecb569d 100644 --- a/modules/fish-starship/default.nix +++ b/modules/fish-starship/default.nix @@ -18,7 +18,7 @@ let VARIABLES = import ../../src/variables.nix; in { shellAliases = { ls = "${pkgs.exa}/bin/exa --group-directories-first -I 'lost+found'"; - tree = "${pkgs.exa}/bin/exa --group-directories-first --all --long --tree -I 'node_modules|.git|public|lost+found'"; + tree = "${pkgs.exa}/bin/exa --group-directories-first --all --long --tree -I 'node_modules|.git|public|lost+found|target'"; mv = "mv -i"; cp = "cp -ia"; rg = "${pkgs.ripgrep}/bin/rg --max-columns=2000 --smart-case";