Fix ssh in early-init.zsh

This commit is contained in:
Alexander Rosenberg 2024-02-26 15:53:18 -08:00
parent 99e303e4c7
commit da4f9d56d3
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -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 &