Skip to content

Fish completion for global justfile#3017

Closed
spasche wants to merge 1 commit intocasey:masterfrom
spasche:fish-complete-global-justfile
Closed

Fish completion for global justfile#3017
spasche wants to merge 1 commit intocasey:masterfrom
spasche:fish-complete-global-justfile

Conversation

@spasche
Copy link
Copy Markdown

@spasche spasche commented Dec 14, 2025

The new approach to build the list of recipes filters the current command line to keep only the options that specify the justfile location (such as -g or -f).

The regex should also fix #2686.

The new approach to build the list of recipes filters the current
command line to keep only the options that specify the justfile
location (such as `-g` or `-f`).

The regex should also fix casey#2686.
@casey
Copy link
Copy Markdown
Owner

casey commented Mar 22, 2026

I switched to using Clap's dynamic completion engine in #3167. The new completion engine calls into the just binary to get completions. This allows us to implement custom completion logic in Rust for all supported shells, instead of having to patch in support for each individual shell.

I created #2406 to track improvements to the new completion engine in one place.

The new completions attempt to respect the command line as much as possible, so this should work.

@casey casey closed this Mar 22, 2026
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.

Completions not working in fish shell

2 participants