]> 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:

much improved password generator
[etc/pass.git] / .zsh / aliases / genpw
index 7b9f99777454ce7252a53ca02d91b09b3308721b..8e11b078a5dcae9cf1358c559ba1c884eb9fbfc1 100644 (file)
@@ -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