pinwheel: set ASKPASS

And cache the git signing key
This commit is contained in:
Alexander Heldt
2026-07-23 10:56:01 +02:00
parent 8f22f82066
commit 538fb0390a
3 changed files with 59 additions and 0 deletions
+8
View File
@@ -56,6 +56,14 @@ in
initContent = lib.strings.concatStringsSep "\n" [
"export KEYTIMEOUT=1"
# Point every interactive shell at openssh's ssh-agent. home-manager's
# session vars set this too, but hm-session-vars runs once and is then
# inherited — so a tmux server that outlives this change (or started
# with the stale gcr socket) hands new panes a dead SSH_AUTH_SOCK.
# Re-exporting the fixed path per-shell keeps every pane on the same
# agent, so each key is only ever prompted for once per session.
''export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent"''
"bindkey -v '^?' backward-delete-char"
"bindkey '^a' beginning-of-line"
"bindkey '^e' end-of-line"