From: martin f. krafft Date: Sat, 2 Nov 2019 08:48:15 +0000 (+1300) Subject: remove getpw override X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/5999f1756c68dc1af43185f01d41c123974e2a7d remove getpw override --- diff --git a/.gitignore.d/zsh b/.gitignore.d/zsh index 9df5f91..17e6b6f 100644 --- a/.gitignore.d/zsh +++ b/.gitignore.d/zsh @@ -102,7 +102,6 @@ !/.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 index 4673014..0000000 --- a/.zsh/zshrc/99-getpw-override +++ /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