summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-06-18 12:44:16 +0300
committerKyren223 <Kyren223@proton.me>2025-06-18 12:44:16 +0300
commit9112078b250447cb0b906f18dfec0b7016e5c121 (patch)
tree162731f287574d3a599efeb5c75627d0dda553d5 /.zshrc
parente9f59c3900fec6b0670c3480e3ac30dde243da39 (diff)
Keychain now uses the KDE wallet GUI insteead of the terminal when
asking for passphrase which is (hopefully) more secure, with a timeout of 1 minute (after the timeout, it'll stop blocking, causing every open terminal to open it's own prompt popup which is annoying, might increase this if I still regularly hit the limit)
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 11315e3..a3c07f3 100644
--- a/.zshrc
+++ b/.zshrc
@@ -107,7 +107,8 @@ esac
# pnpm end
# Start ssh-agent if not running
-eval $(keychain --quiet --eval ~/.ssh/id_ed25519)
+export SSH_ASKPASS_REQUIRE="prefer"
+eval $(keychain --quiet --quick --lockwait 60 --eval ~/.ssh/id_ed25519)
MARKER_FILE="/run/user/$(id -u)/autorun_once_marker"
if [ ! -f "$MARKER_FILE" ]; then