feat: use ouch

This commit is contained in:
2026-02-01 09:25:51 +08:00
parent b6992f554a
commit dc15d79266
3 changed files with 8 additions and 13 deletions

View File

@@ -30,6 +30,7 @@ in
xz xz
p7zip p7zip
unrar-free unrar-free
ouch
pciutils pciutils
usbutils usbutils
@@ -51,6 +52,13 @@ in
".config/television/cable" ".config/television/cable"
]; ];
my.hm = { my.hm = {
programs.fish.shellAliases = {
x = "ouch d";
};
programs.zsh.shellAliases = {
x = "ouch d";
};
home.packages = with pkgs; [ home.packages = with pkgs; [
# keep-sorted start # keep-sorted start
aria2 aria2

View File

@@ -1,7 +1,6 @@
{ {
config, config,
lib, lib,
pkgs,
... ...
}: }:
let let
@@ -30,17 +29,6 @@ in
programs.starship.enableFishIntegration = false; programs.starship.enableFishIntegration = false;
programs.fish = { programs.fish = {
enable = true; enable = true;
plugins = [
{
name = "extract";
src = pkgs.fetchFromGitHub {
owner = "hexclover";
repo = "fish-extract-ng";
tag = "v0.1";
hash = "sha256-yef5NX4HdZ3ab/2AzNrvvhi0CbeTvXYKZmyH76gIpyk=";
};
}
];
shellAliases = { shellAliases = {
la = "lsd -lah"; la = "lsd -lah";
ls = "lsd"; ls = "lsd";

View File

@@ -50,7 +50,6 @@ in
]; ];
}; };
shellAliases = { shellAliases = {
x = "extract";
ls = "lsd"; ls = "lsd";
svim = "doasedit"; svim = "doasedit";
nf = "fastfetch"; nf = "fastfetch";