Skip to content

Fix zsh completion in nested modules#3111

Open
kitsuyui wants to merge 1 commit intocasey:masterfrom
kitsuyui:fix-zsh-module-completion
Open

Fix zsh completion in nested modules#3111
kitsuyui wants to merge 1 commit intocasey:masterfrom
kitsuyui:fix-zsh-module-completion

Conversation

@kitsuyui
Copy link

@kitsuyui kitsuyui commented Mar 8, 2026

Fixes #2912.

This updates zsh completion so it can continue completing commands inside modules, instead of stopping after the first module segment.

What changed:

  • resolve the current module path from the words already typed by the user
  • use just --list <module> to complete names at the current module level
  • detect fully-qualified recipe paths with just --summary
  • add a zsh regression test covering nested modules

Before this change, completion could stop after the first module name in cases like the one described in #2912, where a command should continue completing deeper module recipes.

Resolve the current module path during zsh completion so completion can
continue inside nested modules instead of stopping after the first module
segment. Add a zsh regression test covering nested module recipes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Shell completion does not work with modules

1 participant