Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Integrate shell completions into kbsecret script #56

Open
woodruffw opened this issue Nov 22, 2017 · 0 comments
Open

Integrate shell completions into kbsecret script #56

woodruffw opened this issue Nov 22, 2017 · 0 comments

Comments

@woodruffw
Copy link
Member

Maintaining separate files for each shell completion syntax is a chore, and requires users to fetch the files from the repo (RubyGems doesn't provide a way to expose shell completion for a script).

So, it'd be nice if we could do this instead:

# .bashrc or .zshrc or whatever fish uses
# use $SHELL to dump the correct shell's completions
eval "$(kbsecret --completions)"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant