From 28bc8769a5c3f26f44b2de041b86b1b336ddc733 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 26 Jun 2008 09:48:51 +0200 Subject: [PATCH 1/1] add functions for easy bug sub and unsub --- .zsh/zshrc/30_aliases | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases index 7170d3c..97face2 100644 --- a/.zsh/zshrc/30_aliases +++ b/.zsh/zshrc/30_aliases @@ -130,6 +130,9 @@ unset _LANGUAGES alias dpkg-buildpackage="dpkg-buildpackage -k$DEBKEYID -rfakeroot" +bugsub() { echo X-debbugs-autosubscribe: madduck | sendmail -f $DEBEMAIL ${1:?No bug number}-subscribe@bugs.debian.org } +bugunsub() { sendmail -f $DEBEMAIL ${1:?No bug number}-unsubscribe@bugs.debian.org