You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pass-append/pass-append.bash.completion

18 lines
415 B

PASSWORD_STORE_EXTENSION_COMMANDS+=(append)
__password_store_extension_complete_append() {
if [[ $COMP_CWORD -gt 2 ]]; then
case "${COMP_WORDS[2]}" in
help|--help|-h)
_pass_complete_entries
;;
version|--version|-v)
_pass_complete_entries
;;
esac
else
COMPREPLY+=($(compgen -W "help version -h --help -v --version" -- ${cur}))
_pass_complete_entries 1
fi
}