X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/34a97107375f3df8bb0562c40b6cd71618be483c..5999f1756c68dc1af43185f01d41c123974e2a7d:/.zsh/zshrc/99-getpw-override diff --git a/.zsh/zshrc/99-getpw-override b/.zsh/zshrc/99-getpw-override deleted file mode 100644 index 1673631..0000000 --- a/.zsh/zshrc/99-getpw-override +++ /dev/null @@ -1,12 +0,0 @@ -unalias getpw -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