citadel

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

fuzz-notmuch-archive (229B)


      1 #!/usr/bin/env bash
      2 
      3 set -eou pipefail
      4 
      5 thread_search=$(fuzz-notmuch-query-thread "$@")
      6 
      7 threads=$(eval "$thread_search")
      8 fuzz-record-command "res=\$($thread_search) && notmuch tag -inbox \$res"
      9 
     10 echo notmuch tag -inbox $threads