X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=completion%2Fnotmuch-completion.bash;h=1cd616b31314f78fbbc74fd4b1105d7d5496359c;hb=6802b333eb356fdeafd97a4e4ed74999d055a852;hp=e462a82a554eea393cf71f456f40e363160b4842;hpb=e4890b5bf9e2260b36bcc36ddb77d8e97e2abe7d;p=notmuch diff --git a/completion/notmuch-completion.bash b/completion/notmuch-completion.bash index e462a82a..1cd616b3 100644 --- a/completion/notmuch-completion.bash +++ b/completion/notmuch-completion.bash @@ -350,12 +350,16 @@ _notmuch_reply() COMPREPLY=( $( compgen -W "all sender" -- "${cur}" ) ) return ;; + --decrypt) + COMPREPLY=( $( compgen -W "true false" -- "${cur}" ) ) + return + ;; esac ! $split && case "${cur}" in -*) - local options="--format= --format-version= --reply-to= --decrypt ${_notmuch_shared_options}" + local options="--format= --format-version= --reply-to= --decrypt= ${_notmuch_shared_options}" compopt -o nospace COMPREPLY=( $(compgen -W "$options" -- ${cur}) ) ;;