fuzz-notmuch-inbox (276B)
1 #!/usr/bin/env bash 2 set -eou pipefail 3 thread_cmd="notmuch search --format=json ${@:-query:inbox} | $(fuzz-notmuch-select-threads)" 4 thread=$(eval "$thread_cmd") 5 fuzz-record-command "thread=\$($thread_cmd) && notmuch-thread-reader \$thread" 6 echo "notmuch-thread-reader $thread"