diff --git a/.coderabbit.yaml b/.coderabbit.yaml index fb72957..3de761f 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -16,6 +16,13 @@ reviews: auto_review: enabled: true drafts: false + pre_merge_checks: + custom_checks: + - mode: error + name: shell-check + instructions: | + - Always check if the shell scripts are valid and sytactically correct. + - Make sure there are examples for all the supported shells, such as bash, zsh, fish, etc. chat: auto_reply: true diff --git a/templates/setup-example.sh b/templates/setup-example.sh index d85221a..2039533 100755 --- a/templates/setup-example.sh +++ b/templates/setup-example.sh @@ -33,3 +33,8 @@ echo "✅ git gtr configured!" echo "" echo "View config with: git config --local --list | grep gtr" echo "Create a worktree with: git gtr new my-feature" + +# Fish shell completions for git gtr +echo "To enable fish shell completions for git gtr, run:" +echo " ln -s /path/to/git-worktree-runner/completions/gtr.fish ~/.config/fish/completions/" +echo "Then reload fish with: exec fish"