[BUG] terramate install-completions
on fish tries to complete with descriptions and whitespace
#1739
Labels
bug
Something isn't working
Describe the bug
The tab completions on fish shell don't just select the command, they include command descriptions as well, including whitespaces.
It does work properly if I type out a section an command first. Type
terramate cre
and then press TAB, it completescreate
properly.But typing just
terramate <space>
and then pressing TAB tries to pick descriptions.After pressing tab:
After selection an option with the arrow keys:
To Reproduce:
terramate install-completions
on fish shellterramate<space><tab>
Expected behavior
Fish completed descriptions normally appear like this:
Log Output
Add logs from Terramate to help debug your problem.
Environment (please complete the following information):
Sonoma 14.4.1 (23E224)
git version 2.45.2
0.8.4
wezterm 20240203-110809-5046fc22
fish, version 3.7.1
starship 1.19.0
Additional Info
Took a look at
cli.go
. I'm more familiar with spf13/cobra than kong so can't comment on it, but I also couldn't find an issue related to this on kong or kongplete.The text was updated successfully, but these errors were encountered: