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

Thought about submitting this to oh-my-fish to increase visibility? #11

Open
iggy opened this issue Sep 5, 2018 · 8 comments
Open

Thought about submitting this to oh-my-fish to increase visibility? #11

iggy opened this issue Sep 5, 2018 · 8 comments

Comments

@iggy
Copy link

iggy commented Sep 5, 2018

I'm not sure if I'm the weird one here, but I almost always look for fish things in omf before resorting to google. I think this package being available via omf would be awesome.

@iggy iggy changed the title Thought about submitting this to oh-my-fish to increase visibility? Thought about submitting this to oh-my-fish to increase visibility? Sep 5, 2018
@xordspar0
Copy link

Or you could submit it upstream to the fish project itself.

@dotCipher
Copy link

Why would it be better to submit to the main fish project itself? If anything, it should probably be implemented in kubectl itself, not the core fish shell.

However it seems like both the issues raised in the kubernetes repo: kubernetes/kubernetes#30763 as well as the kubectl repo: kubernetes/kubectl#131 were closed without any reasonable solution.

The workaround here would probably be just to include it in fish package managers instead (like omf).

@xordspar0
Copy link

I does make more sense for kubectl to support completion for fish. There is progress in that area. spf13/cobra#754 is an open PR to cobra, kubectl's CLI library, that would add this support. kubernetes/kubectl#131 was closed due to inactivity, but the change to cobra would allow it to move forward.

@dotCipher
Copy link

Ah ok, I missed that one. I stand corrected, thanks!

@jorgebucaran
Copy link

jorgebucaran commented Jan 19, 2019

Hi @dotCipher, I don't know if this is unusual in other platforms, but in fish, the practice is to do as suggested and submit completions to the main repository. The ideal would be if kubectl sent completions to fish-shell/fish-shell themselves, but there's nothing strange about users doing it.

@dotCipher
Copy link

Yeah, I misunderstood, but that makes sense now. I guess we will have to wait on spf13/cobra#754 to finish before taking further action here.

@arbourd
Copy link

arbourd commented Jul 30, 2019

I guess we will have to wait on spf13/cobra#754 to finish before taking further action here.

Why? Re: submit completions to the main repository

@wwentland
Copy link

Why? Re: submit completions to the main repository

The underlying reason is that there is a preference for completions to be generated programmatically in a similar way to what is done for bash and zsh.

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

No branches or pull requests

6 participants