commit 7bec5958f13cbc867312e3b13e87f6ed76f03065
parent c802160087c864f79ed74042e73625672b6fe1f1
Author: William Casarin <jb55@jb55.com>
Date: Thu, 31 Aug 2023 18:29:52 -0700
update command list and mail-prpatch commands
Diffstat:
3 files changed, 5 insertions(+), 11 deletions(-)
diff --git a/bin/fuzz-notmuch-am b/bin/fuzz-notmuch-am
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
set -eou pipefail
-echo notmuch am to:nixpkgs-dev
+notmuch am -s --am -f ${1:-query:patches}
diff --git a/bin/mail-prpatch b/bin/mail-prpatch
@@ -2,11 +2,6 @@
set -eou pipefail
-args=$(
-tac |
-grep -E 'github\.com.*pull/' |
-head -n1 |
-sed -En 's,.*github.com/([^/]+)/([^/]+)/pull/([0-9]+).*,\3 \1/\2,p'
-)
+args=$(mail-prlink | sed -En 's,.*github.com/([^/]+)/([^/]+)/pull/([0-9]+).*,\3 \1/\2,p')
prpatch $args
diff --git a/dotfiles/commands b/dotfiles/commands
@@ -34,6 +34,7 @@ eG edit gemmarks echo edit ~/dotfiles/gemmarks
elf edit last files fuzz-last-files edit
eM edit mimi echo edit ~/.config/mimi/mime.conf
em edit mutt config echo edit ~/.config/neomutt/neomuttrc
+ea edit mail aliases echo edit ~/.mail_aliases
et edit todo echo edit ~/docs/todo/todo.txt
ff create file echo fuzz-create-file
gb git branches echo git bvr
@@ -50,11 +51,9 @@ ng notmuch github patch fuzz-notmuch-gam
nat notmuch archive fuzz-notmuch-archive
nm notmuch muchsync echo muchsync charon
m mutt echo neomutt
-mp mutt prs echo neomutt -f damus-prs
+mP mutt prs echo neomutt -f damus-prs
+mp mutt patches echo neomutt -f patches
mi mutt issues echo neomutt -f damus-issues
-min mutt issues noelsat echo neomutt -f damus-issues-no-elsat
-mai mutt all issues echo neomutt -f damus-all-issues
-main mutt all issues noelsat echo neomutt -f damus-all-issues-no-elsat
Nc new command echo make-script
ni notmuch inbox fuzz-notmuch-inbox
nT email today echo f nt query:today