citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

fuzz-notmuch-archive-inbox (275B)


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