fix issues with SSH_ASKPASS hanging

This commit is contained in:
Joel Beckmeyer 2024-11-29 16:22:38 +00:00
parent 70ec6f36da
commit 605fc3dd51
2 changed files with 2 additions and 1 deletions

View File

@ -80,6 +80,7 @@ fi
if command -v keychain >/dev/null; then if command -v keychain >/dev/null; then
alias keychain="keychain --nolock --absolute --dir $XDG_RUNTIME_DIR" alias keychain="keychain --nolock --absolute --dir $XDG_RUNTIME_DIR"
eval "$(keychain --quick --eval)" eval "$(keychain --quick --eval)"
rbw unlock
ssh-add ~/.ssh/id_rsa ssh-add ~/.ssh/id_rsa
fi fi
### End user configuration ### End user configuration

View File

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
rbw unlock && rbw get id_rsa rbw get id_rsa