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

remove getpw override
authormartin f. krafft <madduck@madduck.net>
Sat, 2 Nov 2019 08:48:15 +0000 (21:48 +1300)
committermartin f. krafft <madduck@madduck.net>
Sat, 2 Nov 2019 08:48:15 +0000 (21:48 +1300)
.gitignore.d/zsh
.zsh/zshrc/99-getpw-override [deleted file]

index 9df5f9141b2823c162024c856dd9f5580191d723..17e6b6fecee305a6df8edc4badb925e61d1cabd3 100644 (file)
 !/.zsh/zshrc/90-ls_on_chdir
 !/.zsh/zshrc/90-run-help
 !/.zsh/zshrc/95-watch-users
-!/.zsh/zshrc/99-getpw-override
 !/.zsh/zshrc/99-prefill_prompt
 !/.zsh/zshrc/99-prompt_setup
 !/.zsh/zshrc/.gitignore
diff --git a/.zsh/zshrc/99-getpw-override b/.zsh/zshrc/99-getpw-override
deleted file mode 100644 (file)
index 4673014..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-unalias getpw 2>/dev/null
-getpw() {
-  if ! pass -c "$@"; then
-    if old-getpw "$@"; then
-      echo >&2 "Please migrate the password for $@"
-      genpw "$@"
-      echo >&2 "Old password is now in X paste buffer, new one in clipboard"
-    fi
-  fi
-}
-autoload -zU compdef
-compdef _pass getpw