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

Missing File Autosuggestions for cat Command in Fig Terminal Plugin #2250

Open
3 tasks done
mirkobozzetto opened this issue Jan 24, 2024 · 0 comments
Open
3 tasks done

Comments

@mirkobozzetto
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?

fit autocomplete

Which statement makes the most sense?

There are errors with this completion spec

Issue Details

Problem Description:
When using the cat command in the terminal with the Fig plugin, I encounter an issue with autosuggestions. While the options for the cat command are appropriately suggested, the files associated with this command do not appear in Fig's autosuggestion menu. This issue forces me to exit the autosuggestion by pressing Esc, and then use Tab to manually select files.

Steps to Reproduce:

Open the terminal with the Fig plugin enabled.
Type cat followed by a space.
Notice that the options for the cat command are suggested, but the files are not.
Expected Behavior:
When typing the cat command, in addition to the command options, a list of relevant files should automatically be suggested by Fig, allowing for quick selection without the need to use Esc and then Tab.

Environment:
Fig Version: fig_cli 2.17.0
iTerm2-01-24 at 12 33-OvgKuIQx
iTerm2-01-24 at 12 34-8RdMN12y

Operating System: 14.3 (23D56)
Terminal Used: zsh

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