Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Q] Select first item #322

Closed
Marekkon5 opened this issue Oct 31, 2022 · 8 comments
Closed

[Q] Select first item #322

Marekkon5 opened this issue Oct 31, 2022 · 8 comments
Labels
question Further information is requested

Comments

@Marekkon5
Copy link

Describe your question

Hello, is there an option to automatically autofill the first item from the list? Related: #247

Normal ZSH / Bash:
car [TAB] cargo gets completed

fzf-tab:
car [TAB] (menu opens, but the prompt is still just car, you have to press enter to autocomplete the first option).

Thank you.

@Marekkon5 Marekkon5 added the question Further information is requested label Oct 31, 2022
@0x0D15
Copy link

0x0D15 commented Nov 1, 2022

--select-1 flag?

@Marekkon5
Copy link
Author

Where can I add it?

@0x0D15
Copy link

0x0D15 commented Nov 1, 2022

@Aloxaf
Copy link
Owner

Aloxaf commented Nov 24, 2022

Do you mean the first item or the common prefix?

@Marekkon5
Copy link
Author

Marekkon5 commented Nov 24, 2022

E: common prefix is probably the correct bash behavior

@pablospe
Copy link

How to select the common prefix? Is it possible?

@cohml
Copy link

cohml commented Dec 16, 2023

I have the same question. Automatically completing to the longest unambiguous common prefix would be a nice behavior.

@Aloxaf
Copy link
Owner

Aloxaf commented Feb 22, 2024

#8

@Aloxaf Aloxaf closed this as completed Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants