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

bash completion #17

Closed
bjartek opened this issue Oct 8, 2016 · 2 comments
Closed

bash completion #17

bjartek opened this issue Oct 8, 2016 · 2 comments

Comments

@bjartek
Copy link
Contributor

bjartek commented Oct 8, 2016

Add bash completions so that it is easier to use the tool.

I can look into this if you want me to.

@jorgemoralespou
Copy link
Contributor

@bjartek Can you add completions to the base script and not as a separate file, so that it can be added with:

oc-cluster completion bash

Similar to this: http://kubernetes.io/docs/user-guide/kubectl/kubectl_completion/

Then it will be easier to maintain.

Thanks.

@bjartek
Copy link
Contributor Author

bjartek commented Oct 10, 2016

./oc-cluster completion bash | sudo tee /usr/local/etc/bash_completion.d/oc-cluster works on my mac now

I needed to install bash completions from homebrew as well.

(I mainly use zsh these days so somebody mainly using bash should test this out)

I have no written that many zsh completions but i will give it a shot if I have time.

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

2 participants