]> git.notmuchmail.org Git - notmuch/blobdiff - completion/notmuch-completion.bash
cli/reply: use decryption policy "auto" by default.
[notmuch] / completion / notmuch-completion.bash
index e462a82a554eea393cf71f456f40e363160b4842..1cd616b31314f78fbbc74fd4b1105d7d5496359c 100644 (file)
@@ -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}) )
            ;;