Skip to content

Instantly share code, notes, and snippets.

@wolverian
Created April 11, 2019 13:09
Show Gist options
  • Save wolverian/585fb967848ab85fd8444effcdd03df5 to your computer and use it in GitHub Desktop.
Save wolverian/585fb967848ab85fd8444effcdd03df5 to your computer and use it in GitHub Desktop.
Fish shell completion for aws-vault
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