Skip to content

fix(completions): keep input on empty interactive selection#1171

Open
Smile232323 wants to merge 3 commits intoajeetdsouza:mainfrom
Smile232323:fix/zoxide-empty-selection
Open

fix(completions): keep input on empty interactive selection#1171
Smile232323 wants to merge 3 commits intoajeetdsouza:mainfrom
Smile232323:fix/zoxide-empty-selection

Conversation

@Smile232323
Copy link

Summary

  • guard bash interactive completion so it only rewrites the line when a selection is non-empty
  • guard fish interactive completion to only cancel/replace on non-empty selection
  • add init-output checks to ensure the guards are present

Testing

  • not run (read-only environment)

Refs #766

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.

1 participant