From 7a4b1e3a23607da3e669529c6640284ad481d068 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 5 Dec 2019 10:36:30 +0100 Subject: [PATCH] simplify: remove pw length arg --- .zsh/aliases/genpw | 2 +- .zsh/aliases/pmnpw | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.zsh/aliases/genpw b/.zsh/aliases/genpw index c497602..a2f7545 100644 --- a/.zsh/aliases/genpw +++ b/.zsh/aliases/genpw @@ -1 +1 @@ -() { EDITOR="genpw-editor $2" pass edit "$1"; } +() { EDITOR="genpw-editor" pass edit "$1"; } diff --git a/.zsh/aliases/pmnpw b/.zsh/aliases/pmnpw index 2ff7e1a..a6d22c4 100644 --- a/.zsh/aliases/pmnpw +++ b/.zsh/aliases/pmnpw @@ -1 +1 @@ -() { case "$1" in (*@*) genpw ${1%%@*}/$1;; (*) genpw $1/${1}@pobox.madduck.net ${@:2};; esac } +() { case "$1" in (*@*) genpw ${1%%@*}/$1;; (*) genpw $1/${1}@pobox.madduck.net;; esac } -- 2.39.5