From ff73a24babd74bd24ce6be5f64a296f4852cd2dd Mon Sep 17 00:00:00 2001 From: Origami404 Date: Sun, 17 May 2026 10:54:49 +0800 Subject: [PATCH] =?UTF-8?q?[zsh]=20=E6=B8=85=E9=99=A4=20nix=20darwin=20?= =?UTF-8?q?=E4=B8=8A=E5=A4=9A=E6=AC=A1=E9=87=8D=E5=A4=8D=E7=9A=84=20compin?= =?UTF-8?q?it,=20=E6=8F=90=E5=8D=87=20zsh=20=E5=90=AF=E5=8A=A8=E9=80=9F?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/modules/zsh.nix | 1 + home/standalone/.zsh.d/grml-zshrc | 2 +- hosts/hypnos/configuration.nix | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/home/modules/zsh.nix b/home/modules/zsh.nix index b26a9b1..c65c961 100644 --- a/home/modules/zsh.nix +++ b/home/modules/zsh.nix @@ -1,6 +1,7 @@ { lib, pkgs, ... }: { programs.zsh.enable = true; + programs.zsh.enableCompletion = false; home.shell.enableZshIntegration = true; home.file = diff --git a/home/standalone/.zsh.d/grml-zshrc b/home/standalone/.zsh.d/grml-zshrc index 0e83c97..2c18268 100644 --- a/home/standalone/.zsh.d/grml-zshrc +++ b/home/standalone/.zsh.d/grml-zshrc @@ -1644,7 +1644,7 @@ bind2maps emacs viins vicmd -- -s '\e'${key[Left]} backward-word zrcautoload zmv # zrcautoload zed # o4: 禁用 zed, 和 zed editor 的 cli binary name 撞车了 -unset -f zed +# unset -f zed # we don't want to quote/espace URLs on our own... # if autoload -U url-quote-magic ; then diff --git a/hosts/hypnos/configuration.nix b/hosts/hypnos/configuration.nix index a879edc..45590b5 100644 --- a/hosts/hypnos/configuration.nix +++ b/hosts/hypnos/configuration.nix @@ -11,6 +11,7 @@ time.timeZone = "Asia/Shanghai"; programs.zsh.enable = true; + programs.zsh.enableGlobalCompInit = false; users.users.origami = { home = "/Users/origami";