]> git.notmuchmail.org Git - notmuch/blobdiff - completion/notmuch-completion.bash
cli/show: use decryption policy "auto" by default.
[notmuch] / completion / notmuch-completion.bash
index 1cd616b31314f78fbbc74fd4b1105d7d5496359c..f94dbeed66bdef7a4f757d8cb346fa008b1e6e88 100644 (file)
@@ -517,7 +517,7 @@ _notmuch_show()
            COMPREPLY=( $( compgen -W "text json sexp mbox raw" -- "${cur}" ) )
            return
            ;;
-       --exclude|--body)
+       --exclude|--body|--decrypt)
            COMPREPLY=( $( compgen -W "true false" -- "${cur}" ) )
            return
            ;;
@@ -526,7 +526,7 @@ _notmuch_show()
     ! $split &&
     case "${cur}" in
        -*)
-           local options="--entire-thread= --format= --exclude= --body= --format-version= --part= --verify --decrypt --include-html ${_notmuch_shared_options}"
+           local options="--entire-thread= --format= --exclude= --body= --format-version= --part= --verify --decrypt= --include-html ${_notmuch_shared_options}"
            compopt -o nospace
            COMPREPLY=( $(compgen -W "$options" -- ${cur}) )
            ;;