summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <mab@gnu.org>2018-08-04 18:58:42 -0400
committerAmin Bandali <mab@gnu.org>2018-08-04 18:58:42 -0400
commit74ef10b067c185020b35344229f383666080d45b (patch)
tree80ba8ca49adc3b0e4591b12928e1c79a908a6e49
parent9e568495ab9b4c7ddc4f2284577112641c57dedf (diff)
downloadconfigs-74ef10b067c185020b35344229f383666080d45b.tar.gz
configs-74ef10b067c185020b35344229f383666080d45b.tar.xz
configs-74ef10b067c185020b35344229f383666080d45b.zip
[rc] add nmam and nmam3 aliases for extracting patches from notmuch
kudos and thanks to @bremner
-rw-r--r--rc.org3
1 files changed, 3 insertions, 0 deletions
diff --git a/rc.org b/rc.org
index 5327f2a..1ac68f8 100644
--- a/rc.org
+++ b/rc.org
@@ -686,6 +686,8 @@ timeout = 0
pr = pull --rebase
ps = push
psf = push --force
+ nmam = "!f() { notmuch show --format=raw $1 | git am -; }; f"
+ nmam3 = "!f() { notmuch show --format=raw $1 | git am -3 -; }; f"
#+end_src
**** color
@@ -2215,6 +2217,7 @@ notmuch tag -inbox +lists/hackernewsletter -- folder:amin/lists/hackernewsletter
notmuch tag -inbox +lists/haskell-weekly -- folder:amin/lists/haskell-weekly
notmuch tag -inbox +pay -- folder:amin/pay
+notmuch tag -inbox +banking -- folder:amin/banking
# </aminb>
# <uw>