From 59987f07285696b5b313c1eae63b66d21c1f82e5 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sat, 23 Nov 2024 16:00:24 -0800 Subject: [PATCH] feat(home): Add -f to rm alias --- modules/home/programs/fish/default.nix | 38 ++++++++++++++------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/modules/home/programs/fish/default.nix b/modules/home/programs/fish/default.nix index 36f632f..b98cbc8 100644 --- a/modules/home/programs/fish/default.nix +++ b/modules/home/programs/fish/default.nix @@ -17,25 +17,27 @@ in options.marleyos.programs.fish.enable = mkEnableOption "fish"; config = mkIf cfg.enable { - home.packages = with pkgs; [ - # general - babelfish + home.packages = + with pkgs; + [ + # general + babelfish - # for fish_greeting() - marleyos.figlet-xero-fonts - lolcat + # for fish_greeting() + marleyos.figlet-xero-fonts + lolcat - # for extract() - gnutar - bzip2 - bzip3 - gzip - unzip - pax - ] - # unrar-free is broken on darwin :( - ++ (optionals (is-linux system) [ unrar-free ]) - ++ (optionals (is-darwin system) [ unrar ]); + # for extract() + gnutar + bzip2 + bzip3 + gzip + unzip + pax + ] + # unrar-free is broken on darwin :( + ++ (optionals (is-linux system) [ unrar-free ]) + ++ (optionals (is-darwin system) [ unrar ]); programs.fish = { enable = true; @@ -72,7 +74,7 @@ in cp = "cp -iv"; mkdir = "mkdir -pv"; mv = "mv -iv"; - rm = "rm -r"; + rm = "rm -rf"; grep = "grep --color=auto"; };