From dea73905a68f0d0a03993d95c5287ba47786b41b Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 12 Aug 2019 17:36:47 +1200 Subject: [PATCH] helper for @pobox.madduck.net accounts --- .gitignore.d/zsh | 2 +- .zsh/aliases/pmnpw | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .zsh/aliases/pmnpw diff --git a/.gitignore.d/zsh b/.gitignore.d/zsh index bfb3413..4bb5d0a 100644 --- a/.gitignore.d/zsh +++ b/.gitignore.d/zsh @@ -20,9 +20,9 @@ !/.zsh/aliases/mps !/.zsh/aliases/.noglob !/.zsh/aliases/of +!/.zsh/aliases/pmnpw !/.zsh/aliases/px !/.zsh/aliases/Q -!/.zsh/aliases/rrsh !/.zsh/aliases/uc !/.zsh/aliases/w3m !/.zsh/aliases/wget diff --git a/.zsh/aliases/pmnpw b/.zsh/aliases/pmnpw new file mode 100644 index 0000000..2ff7e1a --- /dev/null +++ b/.zsh/aliases/pmnpw @@ -0,0 +1 @@ +() { case "$1" in (*@*) genpw ${1%%@*}/$1;; (*) genpw $1/${1}@pobox.madduck.net ${@:2};; esac } -- 2.39.5