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

cd now suggests ~ as the first suggestion, which doesn't work with the 'Navigate Down' tab feature #1992

Open
2 of 3 tasks
oresttokovenko opened this issue Jun 6, 2023 · 0 comments

Comments

@oresttokovenko
Copy link

Sanity checks

  • My issue relates to a specific CLI completion spec (e.g. git checkout is missing options in git completion spec). If your issue is more general, please create your issue here: withfig/fig
  • I have searched github.com/withfig/autocomplete/issues and there are no duplicates of my issue
  • I would like to work on this.

What CLI tool does this relate to?

autocomplete

Which statement makes the most sense?

There is a bug with this completion spec

Issue Details

If you have the Tab set to Navigate Down, and try to cd into a directory, the first suggestion will automatically be the home directory ~, and it switches to Insert Suggestion for that option. Therefore, you press Tab expecting to navigate past this option, but instead if enters it and you get cd ~. If you use the down arrow to navigate past the tilde option, the Tab function resumes as Navigate Down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant