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