From 605fc3dd518d12393cfbce5664c591a953f90858 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Fri, 29 Nov 2024 16:22:38 +0000 Subject: [PATCH] fix issues with SSH_ASKPASS hanging --- dot_config/zsh/dot_zshrc | 1 + dot_local/bin/private_executable_get_id_rsa_pass | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc index d6fe9e1..82d92a3 100644 --- a/dot_config/zsh/dot_zshrc +++ b/dot_config/zsh/dot_zshrc @@ -80,6 +80,7 @@ fi if command -v keychain >/dev/null; then alias keychain="keychain --nolock --absolute --dir $XDG_RUNTIME_DIR" eval "$(keychain --quick --eval)" + rbw unlock ssh-add ~/.ssh/id_rsa fi ### End user configuration diff --git a/dot_local/bin/private_executable_get_id_rsa_pass b/dot_local/bin/private_executable_get_id_rsa_pass index 97c1367..1f7846f 100644 --- a/dot_local/bin/private_executable_get_id_rsa_pass +++ b/dot_local/bin/private_executable_get_id_rsa_pass @@ -1,2 +1,2 @@ #!/bin/sh -rbw unlock && rbw get id_rsa +rbw get id_rsa