X-Git-Url: https://git.madduck.net/etc/pass.git/blobdiff_plain/3f04cce68b8146fb5a901259f6720ee231111dd2..32c81d22359414b4168d2ea74186143b28d31387:/.zsh/aliases/pmnpw diff --git a/.zsh/aliases/pmnpw b/.zsh/aliases/pmnpw index a6d22c4..8405de0 100644 --- a/.zsh/aliases/pmnpw +++ b/.zsh/aliases/pmnpw @@ -1 +1 @@ -() { case "$1" in (*@*) genpw ${1%%@*}/$1;; (*) genpw $1/${1}@pobox.madduck.net;; esac } +() { case "$1" in (*@*) genpw ${${1%%@*}##*=}/$1;; (*) genpw $1/${1}@pobox.madduck.net;; esac }