From b6f387bb53686ddfa5408adae124a9b04a933054 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Fri, 29 Sep 2023 03:26:53 -0700 Subject: [PATCH] Update local/early-init.alexanders-portable.zsh --- local/early-init.alexanders-portable.zsh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/local/early-init.alexanders-portable.zsh b/local/early-init.alexanders-portable.zsh index c5acf3a..c339d4c 100644 --- a/local/early-init.alexanders-portable.zsh +++ b/local/early-init.alexanders-portable.zsh @@ -14,12 +14,8 @@ add_ssh_keys() { # Because I use zsh to start X11 if [[ -o login ]]; then export LC_ALL=en_US.UTF-8 - + export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" eval "$(gnome-keyring-daemon --start 2>/dev/null)" - if ! [[ -v WAYLAND_DISPLAY ]] && [ "${XDG_VTNR}" -eq 1 ]; then - pkill ssh-agent - fi - eval "$(ssh-agent)" SSH_ASKPASS_REQUIRE="force" SSH_ASKPASS="/usr/local/bin/ssh-askpass-cat.sh" add_ssh_keys & if ! [[ -v WAYLAND_DISPLAY ]] && [ "${XDG_VTNR}" -eq 1 ]; then