-
Notifications
You must be signed in to change notification settings - Fork 811
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 of exec command #70
Comments
Yup, I've wanted to do this for a while. Unfortunately I'm a zsh user, but I think it can be done such that it's portable. |
Apparently this is somewhat helped by the cli library we use: https://github.com/alecthomas/kingpin#bashzsh-shell-completion |
@lox this build in completion will only help for the aws-vault options |
I tried the build in I've made some progress on the completion of the exec command.
I'll continue to enhance it with the aws-vault options.
|
Nice! I've been working on getting the latest cli stuff into aws-vault so that we can at least use kingpin to output the above script when |
They are based on the shell completion scripts generated by kingpin in alecthomas/kingpin#252. Modified to complete commands after '--'. Fixes 99designs#70
They are based on the shell completion scripts generated by kingpin in alecthomas/kingpin#252. Modified to complete commands after '--'. Fixes 99designs#70
we use
make
a lot at work. It has nice bashcompletion for it's tasks.Execing it with
aws-vault exec <profile> make
sure works great! thanks for the plugin!But it breaks the completion.
I researched and came across
_command_offset
in bash_completion.It is used by
sudo
to achieve something similar.Maybe it can inspire you :)
The text was updated successfully, but these errors were encountered: