X-Git-Url: https://git.madduck.net/etc/pass.git/blobdiff_plain/a358236ea029464ce74ffe97ddb353685074666f..dd27c77d4dd1b30be78b44a72d7e689c09d3fdcd:/.zsh/aliases/genpw?ds=sidebyside diff --git a/.zsh/aliases/genpw b/.zsh/aliases/genpw index 7b9f997..8e11b07 100644 --- a/.zsh/aliases/genpw +++ b/.zsh/aliases/genpw @@ -1 +1,2 @@ -() { EDITOR="vim -c 'set noshelltemp' -c '0read! diceware -s ${2:-1}' -c 2d -n" pass edit "$1"; } +() { EDITOR="genpw-editor" pass edit "$1"; } +compdef $0=pass