From da4f9d56d36843f7d0090138974e309d317f1dc9 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Mon, 26 Feb 2024 15:53:18 -0800 Subject: [PATCH] Fix ssh in early-init.zsh --- early-init.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/early-init.zsh b/early-init.zsh index 0e6f8f2..b768da0 100644 --- a/early-init.zsh +++ b/early-init.zsh @@ -14,7 +14,8 @@ add_ssh_keys() { if [[ -o login ]] && [[ "${ZSH_GRAPHICAL_LOGIN}" = 'true' ]] ; then export LC_ALL=en_US.UTF-8 eval "$(gnome-keyring-daemon --start 2>/dev/null)" - export SSH_AUTH_SOCK + export SSH_AUTH_SOCK="${$XDG_RUNTIME_DIR}/gcr/ssh" + export SSH_ASKPASS=/usr/lib/seahorse/ssh-askpass SSH_ASKPASS_REQUIRE="force" \ SSH_ASKPASS="/usr/local/bin/ssh-askpass-cat.sh" \ add_ssh_keys &