From: martin f. krafft Date: Mon, 12 Aug 2019 05:36:47 +0000 (+1200) Subject: helper for @pobox.madduck.net accounts X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/dea73905a68f0d0a03993d95c5287ba47786b41b?hp=50420f958c58e36baa6936c794171fbaf316fdbd helper for @pobox.madduck.net accounts --- 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 }