From 6e3b6cd9467e4a5fcd4ee7fb56ba08bcc6c416a0 Mon Sep 17 00:00:00 2001 From: Hasit Mistry Date: Wed, 10 Dec 2025 10:58:59 -0800 Subject: [PATCH 1/2] Add instructions for enabling fish shell completions for git gtr --- templates/setup-example.sh | 5 +++++ 1 file changed, 5 insertions(+) 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" From 2ec73e9f3afb080b68f555b04038e15499460ac9 Mon Sep 17 00:00:00 2001 From: Hasit Mistry Date: Wed, 10 Dec 2025 11:24:02 -0800 Subject: [PATCH 2/2] feat: add shell-check pre-merge checks for script validation --- .coderabbit.yaml | 7 +++++++ 1 file changed, 7 insertions(+) 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