]> git.madduck.net Git - etc/zsh.git/commitdiff

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:

helper for @pobox.madduck.net accounts
authormartin f. krafft <madduck@madduck.net>
Mon, 12 Aug 2019 05:36:47 +0000 (17:36 +1200)
committermartin f. krafft <madduck@madduck.net>
Mon, 12 Aug 2019 05:36:47 +0000 (17:36 +1200)
.gitignore.d/zsh
.zsh/aliases/pmnpw [new file with mode: 0644]

index bfb34134fcd4c8ee4a43b6c2ce101a84f08d729f..4bb5d0a13e8abb87b78ea0b76005fe2113d89ac4 100644 (file)
@@ -20,9 +20,9 @@
 !/.zsh/aliases/mps
 !/.zsh/aliases/.noglob
 !/.zsh/aliases/of
 !/.zsh/aliases/mps
 !/.zsh/aliases/.noglob
 !/.zsh/aliases/of
+!/.zsh/aliases/pmnpw
 !/.zsh/aliases/px
 !/.zsh/aliases/Q
 !/.zsh/aliases/px
 !/.zsh/aliases/Q
-!/.zsh/aliases/rrsh
 !/.zsh/aliases/uc
 !/.zsh/aliases/w3m
 !/.zsh/aliases/wget
 !/.zsh/aliases/uc
 !/.zsh/aliases/w3m
 !/.zsh/aliases/wget
diff --git a/.zsh/aliases/pmnpw b/.zsh/aliases/pmnpw
new file mode 100644 (file)
index 0000000..2ff7e1a
--- /dev/null
@@ -0,0 +1 @@
+() { case "$1" in (*@*) genpw ${1%%@*}/$1;; (*) genpw $1/${1}@pobox.madduck.net ${@:2};; esac }