mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
just's completion is clap-dynamic and exposes no hook for completing a recipe's arguments, so `just e2e <Tab>` couldn't suggest anything. Wrap just's completer: for the e2e/e2e-cli recipes, complete the test names found under pkg/integration/tests/, delegating everything else back to just. The names are fed to _multi_parts so they complete one "/"-separated segment at a time — an empty <Tab> offers just the categories, then drills into the tests within a category — and the .go extension and the shared helper files are stripped so the candidates are exactly the names the recipe accepts. Source it from ~/.zshrc (after compinit) to enable; it's a no-op without just installed and only activates inside a repo with a justfile and a pkg/integration/tests/ directory. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| bisect.sh | ||
| bump_gocui.sh | ||
| bump_lazycore.sh | ||
| bump_modules.sh | ||
| check_commit.sh | ||
| check_filenames.sh | ||
| check_for_fixups.sh | ||
| golangci-lint-shim.sh | ||
| just_e2e_completion.zsh | ||
| preview_release_notes.sh | ||
| record_demo.sh | ||
| run_integration_tests.sh | ||
| update_docs_for_release.sh | ||
| update_language_files.sh | ||