[X] I have run fig doctor in the affected terminal session
[X] I have run fig restart and replicated the issue again
Operating system
macOS 14.1.2 (23B92)
Expected behaviour
Custom CLI tools and their subcommands (scripts) be auto-populated for autocompletions so when we type cli tool in terminal we can see available subcommands to use.
In my case I when I enter in terminal "my " I want to see autocompletion for "ssh-config" subcommand (script).
Actual behaviour
The only autocompletion appeared is "-h" which is just to get help about cli tool.
And if you check the help, you can see in description custom commands - so fig knows about them and still does not autosuggests.
Steps to reproduce
Create CLI tool with name "my"
Create script called "ssh-config" (simple shell script with cat and grep inside and a couple of inputs)
Enter "my " in terminal
See autocompletions:
for help "-h" - OK
missing suggestion for "ssh-config" - BUG. Should be in a list of suggestions.
Checks
fig doctor
in the affected terminal sessionfig restart
and replicated the issue againOperating system
macOS 14.1.2 (23B92)
Expected behaviour
Custom CLI tools and their subcommands (scripts) be auto-populated for autocompletions so when we type cli tool in terminal we can see available subcommands to use.
In my case I when I enter in terminal "my " I want to see autocompletion for "ssh-config" subcommand (script).
Actual behaviour
The only autocompletion appeared is "-h" which is just to get help about cli tool. And if you check the help, you can see in description custom commands - so fig knows about them and still does not autosuggests.
Steps to reproduce
Environment