From dc15d79266bd91e2be0f58099f85e63785cc3af2 Mon Sep 17 00:00:00 2001 From: imxyy_soope_ Date: Sun, 1 Feb 2026 09:25:51 +0800 Subject: [PATCH] feat: use ouch --- modules/cli/misc.nix | 8 ++++++++ modules/cli/shell/fish.nix | 12 ------------ modules/cli/shell/zsh.nix | 1 - 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/modules/cli/misc.nix b/modules/cli/misc.nix index 9a1d60b..36c0724 100644 --- a/modules/cli/misc.nix +++ b/modules/cli/misc.nix @@ -30,6 +30,7 @@ in xz p7zip unrar-free + ouch pciutils usbutils @@ -51,6 +52,13 @@ in ".config/television/cable" ]; my.hm = { + programs.fish.shellAliases = { + x = "ouch d"; + }; + programs.zsh.shellAliases = { + x = "ouch d"; + }; + home.packages = with pkgs; [ # keep-sorted start aria2 diff --git a/modules/cli/shell/fish.nix b/modules/cli/shell/fish.nix index e325687..5569f9f 100644 --- a/modules/cli/shell/fish.nix +++ b/modules/cli/shell/fish.nix @@ -1,7 +1,6 @@ { config, lib, - pkgs, ... }: let @@ -30,17 +29,6 @@ in programs.starship.enableFishIntegration = false; programs.fish = { enable = true; - plugins = [ - { - name = "extract"; - src = pkgs.fetchFromGitHub { - owner = "hexclover"; - repo = "fish-extract-ng"; - tag = "v0.1"; - hash = "sha256-yef5NX4HdZ3ab/2AzNrvvhi0CbeTvXYKZmyH76gIpyk="; - }; - } - ]; shellAliases = { la = "lsd -lah"; ls = "lsd"; diff --git a/modules/cli/shell/zsh.nix b/modules/cli/shell/zsh.nix index bc93641..e515411 100644 --- a/modules/cli/shell/zsh.nix +++ b/modules/cli/shell/zsh.nix @@ -50,7 +50,6 @@ in ]; }; shellAliases = { - x = "extract"; ls = "lsd"; svim = "doasedit"; nf = "fastfetch";