]> git.notmuchmail.org Git - notmuch/blobdiff - completion/notmuch-completion.bash
crypto: add --decrypt=nostash to avoid stashing session keys
[notmuch] / completion / notmuch-completion.bash
index 272131e63576bb9c9b2198636c39d20e8a19835a..948c153be4b3eeb56db38cdb9420a8f6c025add0 100644 (file)
@@ -288,7 +288,7 @@ _notmuch_insert()
            return
            ;;
        --decrypt)
-           COMPREPLY=( $( compgen -W "true false auto" -- "${cur}" ) )
+           COMPREPLY=( $( compgen -W "true false auto nostash" -- "${cur}" ) )
            return
            ;;
     esac
@@ -320,7 +320,7 @@ _notmuch_new()
     $split &&
     case "${prev}" in
        --decrypt)
-           COMPREPLY=( $( compgen -W "true false auto" -- "${cur}" ) )
+           COMPREPLY=( $( compgen -W "true false auto nostash" -- "${cur}" ) )
            return
            ;;
     esac
@@ -442,7 +442,7 @@ _notmuch_reindex()
     $split &&
     case "${prev}" in
        --decrypt)
-           COMPREPLY=( $( compgen -W "true false auto" -- "${cur}" ) )
+           COMPREPLY=( $( compgen -W "true false auto nostash" -- "${cur}" ) )
            return
            ;;
     esac