From e9a77f907eac7402b8ce70d5569bde70b4ef0755 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Wed, 8 Apr 2026 13:26:03 +0800 Subject: [PATCH] =?UTF-8?q?feat(base):=20=E8=A1=A5=E9=BD=90=20yazi=20?= =?UTF-8?q?=E9=A2=84=E8=A7=88=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit yazi 的预览能力依赖外部工具,按官方推荐补齐: - ffmpeg: 视频缩略图 - poppler: PDF 预览 - imagemagick: 图片预览(含 HEIC/JPEG XL/字体) - resvg: SVG 预览 - chafa: 终端不支持图片协议时的 ASCII fallback (Windows Terminal 旧版本无 sixel 时的兜底) --- modules/base.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/base.py b/modules/base.py index d48e66e..c6e325e 100644 --- a/modules/base.py +++ b/modules/base.py @@ -39,6 +39,7 @@ class BaseModule(Module): "base", "bat", "btop", + "chafa", "curl", "direnv", "duf", @@ -46,12 +47,16 @@ class BaseModule(Module): "eza", "fastfetch", "fd", + "ffmpeg", "git-delta", "git", + "imagemagick", "jq", "micro", "ouch", + "poppler", "procs", + "resvg", "ripgrep", "sd", "starship",