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.
18 lines
415 B
18 lines
415 B
2 years ago
|
PASSWORD_STORE_EXTENSION_COMMANDS+=(append)
|
||
5 years ago
|
|
||
2 years ago
|
__password_store_extension_complete_append() {
|
||
5 years ago
|
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
|
||
2 years ago
|
}
|