From 891ebb1b5823b39f29a605da7279ee6ed9561d04 Mon Sep 17 00:00:00 2001 From: Origami404 Date: Sun, 18 Jan 2026 20:04:45 +0800 Subject: [PATCH] [zsh] fix wrong plugins --- AGENTS.md | 1 + home/modules/zsh.nix | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 8365da0..c460de0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,2 +1,3 @@ 使用 flakes 和 home-manager 聊天回答, 注释, 提交记录中均使用中文 +尽量在 home-manager 中安装软件而不是放到系统之中 diff --git a/home/modules/zsh.nix b/home/modules/zsh.nix index 986ef4c..41dc71e 100644 --- a/home/modules/zsh.nix +++ b/home/modules/zsh.nix @@ -4,12 +4,12 @@ enable = true; plugins = [ { - name = "zsh-autocomplete"; + name = "zsh-autosuggestions"; src = pkgs.fetchFromGitHub { - owner = "marlonrichert"; - repo = "zsh-autocomplete"; - rev = "25.03.19"; - sha256 = "sha256-/6V6IHwB5p0GT1u5SAiUa20LjFDSrMo731jFBq/bnpw="; + owner = "zsh-users"; + repo = "zsh-autosuggestions"; + rev = "v0.7.1"; + hash = "sha256-vpTyYq9ZgfgdDsWzjxVAE7FZH4MALMNZIFyEOBLm5Qo="; }; } ];