--- ssh-askpass.plist.orig 2021-08-26 12:52:19.000000000 +0300
+++ ssh-askpass.plist 2022-02-12 22:31:20.000000000 +0200
@@ -11,8 +11,8 @@
/bin/sh
-pc
#!/bin/sh
-launchctl setenv SSH_ASKPASS "${SSH_ASKPASS:=/usr/local/bin/ssh-askpass}"
-launchctl setenv SUDO_ASKPASS "${SUDO_ASKPASS:=/usr/local/bin/ssh-askpass}"
+launchctl setenv SSH_ASKPASS "${SSH_ASKPASS:=@@PREFIX@@/bin/ssh-askpass}"
+launchctl setenv SUDO_ASKPASS "${SUDO_ASKPASS:=@@PREFIX@@/bin/ssh-askpass}"
launchctl list org.xquartz.startx >/dev/null || launchctl setenv DISPLAY "${DISPLAY:=ssh-askpass}" # only if not already set by Xquartz
launchctl stop com.openssh.ssh-agent # to make sure it picks up environment