From: martin f. krafft Date: Thu, 26 Jun 2008 07:48:51 +0000 (+0200) Subject: add functions for easy bug sub and unsub X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/28bc8769a5c3f26f44b2de041b86b1b336ddc733?hp=-c add functions for easy bug sub and unsub --- 28bc8769a5c3f26f44b2de041b86b1b336ddc733 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