Created
April 11, 2019 13:09
-
-
Save wolverian/585fb967848ab85fd8444effcdd03df5 to your computer and use it in GitHub Desktop.
Fish shell completion for aws-vault
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
complete --command aws-vault \ | |
--arguments 'help add list rotate exec remove login' \ | |
--condition 'not __fish_seen_subcommand_from add list rotate exec remove login' \ | |
--exclusive | |
complete --command aws-vault \ | |
--condition '__fish_seen_subcommand_from exec' \ | |
--exclusive \ | |
--arguments "(aws-vault list --profiles)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment