You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[REGRESSION] Weird completion behavior with fuzzy algorithm #19338
I have done a basic search of the issue tracker to find any existing issues that are similar.
I have checked that my version is at least the latest stable release available via my installation method.
Describe the bug
When the completion algorithm is fuzzy and you try to complete the first argument of a command (lets say mv) like this mv <tab>, the resulting completion is incorrect when there exists at least one such command where the input currently typed in the commandline fuzzily matches the it (e.g semver bump fuzzily matches mv ; here the number of spaces after mv matters). In such case it completely skips the current command (e.g no completion for mv is provided)
Nu should show the completion of the current command (mv in this example) instead of skipping this and showing all the commands that fuzzily matches the current commandline.
Activity
Juhan280 commentedon Oct 24, 2026
And also I did a git bisect and found this PR #18761 introduced the regression
fdncred commentedon Oct 24, 2026
@philocalyst any ideas about this?
akasakariko commentedon Oct 25, 2026
I'd like to work on this
Fix fuzzy argument completion for resolved commands (nushell#19347)