]> git.madduck.net Git - etc/pass.git/blobdiff - .zsh/aliases/genpw

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

editor needs filename
[etc/pass.git] / .zsh / aliases / genpw
index 7b9f99777454ce7252a53ca02d91b09b3308721b..c49760298902e3178f600757d311dc623b60f3bb 100644 (file)
@@ -1 +1 @@
-() { EDITOR="vim -c 'set noshelltemp' -c '0read! diceware -s ${2:-1}' -c 2d -n" pass edit "$1"; }
+() { EDITOR="genpw-editor $2" pass edit "$1"; }