From ff31160602b386a1724e44574b344964bcbc675f Mon Sep 17 00:00:00 2001 From: imbytecat Date: Thu, 9 Apr 2026 11:51:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(base):=20=E7=B2=BE=E7=AE=80=20WSL=20?= =?UTF-8?q?=E5=BC=80=E5=8F=91=E7=8E=AF=E5=A2=83=E5=8C=85=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除 WSL 下冗余的媒体处理和工具包: - chafa, fastfetch, ffmpeg, imagemagick, poppler, resvg, tealdeer, xh 保留核心开发工具: - micro (友好编辑器) - .zshrc 通过 alias vi=nvim 使用 - gomi-bin (回收站) - .zshrc 通过 alias rm=gomi 使用 同时移除 .zshrc 中的 http 别名 (xh 已移除) 优化后:78 个包 (原 87 个) --- home/.zshrc | 3 --- modules/base.py | 8 -------- 2 files changed, 11 deletions(-) diff --git a/home/.zshrc b/home/.zshrc index ed36929..7ebd7d3 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -75,9 +75,6 @@ alias lg="lazygit" alias vi="nvim" alias x="ouch decompress" # 万能解压(zip/tar/gz/bz2/xz/zst/7z/rar) -# 网络 -alias http="xh" - # ── yazi wrapper:退出时自动 cd 到最后目录 ── function yy() { local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd diff --git a/modules/base.py b/modules/base.py index c6e325e..593880e 100644 --- a/modules/base.py +++ b/modules/base.py @@ -39,31 +39,23 @@ class BaseModule(Module): "base", "bat", "btop", - "chafa", "curl", "direnv", "duf", "dust", "eza", - "fastfetch", "fd", - "ffmpeg", "git-delta", "git", - "imagemagick", "jq", "micro", "ouch", - "poppler", "procs", - "resvg", "ripgrep", "sd", "starship", "sudo", - "tealdeer", "wget", - "xh", "yazi", "yq", "zoxide",