From 34d4325f097a4020b6287d3114b394d4cb0d5796 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Wed, 25 Mar 2026 16:21:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(modules):=20=E4=BF=AE=E6=AD=A3=20zsh=20hook?= =?UTF-8?q?=20=E8=84=9A=E6=9C=AC=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/zsh/module.yaml | 2 +- {scripts => modules/zsh}/set-default-shell.sh | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {scripts => modules/zsh}/set-default-shell.sh (100%) diff --git a/modules/zsh/module.yaml b/modules/zsh/module.yaml index a7bdbc8..e7deb79 100644 --- a/modules/zsh/module.yaml +++ b/modules/zsh/module.yaml @@ -3,5 +3,5 @@ description: Zsh 及插件 dotfiles: - source: dotfiles/.zshrc target: ~/.zshrc -post_install_hook: scripts/set-default-shell.sh +post_install_hook: set-default-shell.sh hook_behavior: once diff --git a/scripts/set-default-shell.sh b/modules/zsh/set-default-shell.sh similarity index 100% rename from scripts/set-default-shell.sh rename to modules/zsh/set-default-shell.sh