X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/e54f33f71ea6d96b1e2eafa445af4dd0fa9fe10a..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 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