Commit Graph

1112 Commits

Author SHA1 Message Date
Claude
7444f5b97b Remove pointless exports from ssh/rc, add process-model comment
ssh/rc runs as a sshd child process so exports never reach the user's
shell. SSH_REMOTE_AUTH_SOCK was set and exported but never used (a
leftover from a prior failed fix attempt). SSH_AUTH_SOCK was reassigned
to the symlink path and exported, also to no effect. Remove both.

https://claude.ai/code/session_01RhXaFzxJA5D2BcGcz18ipA
2026-04-19 02:19:05 +00:00
Claude
c5e1157f47 Fix shenv clobbering forwarded SSH socket with local agent in tmux
ssh/rc env changes (including SSH_REMOTE_AUTH_SOCK) are lost because
ssh/rc runs as a sshd child process, not the user's shell. The shell
always receives SSH_AUTH_SOCK set to the raw forwarded socket path.

Fresh SSH login worked fine (step 1 catches the raw socket). The bug
was in tmux new windows: SSH_AUTH_SOCK there is our stable symlink, so
step 1 fails, then steps 2/3 look up the system agent and overwrite the
symlink that ssh/rc just set to the forwarded socket.

Fix: only run the system agent lookup when the stable symlink is already
broken. A valid symlink means ssh/rc (or a previous shenv run) already
set it correctly; don't clobber it.

https://claude.ai/code/session_01RhXaFzxJA5D2BcGcz18ipA
2026-04-19 01:47:36 +00:00
Claude
6b50be84a9 Fix SSH agent forwarding clobbered by local agent in shenv
ssh/rc saves the raw forwarded socket in SSH_REMOTE_AUTH_SOCK before
rewriting SSH_AUTH_SOCK to the stable symlink. shenv was ignoring that
variable, so it saw SSH_AUTH_SOCK as "our link" and fell through to the
systemd lookup, which could overwrite the symlink with a local agent
socket and silently drop the forwarded one.

Now shenv checks SSH_REMOTE_AUTH_SOCK first, giving forwarded sockets
priority over any local agent.

https://claude.ai/code/session_01RhXaFzxJA5D2BcGcz18ipA
2026-04-19 01:43:12 +00:00
David Tomaschik
1804357162 Update skel 2026-04-14 10:27:17 -07:00
David Tomaschik
202d871a59 Merge branch 'main' of github.com:Matir/skel 2026-04-09 21:18:29 -07:00
David Tomaschik
467d916f33 Update zshrc 2026-04-09 21:18:24 -07:00
David Tomaschik
6d2bfdbcea Update custom starship shell 2026-04-09 18:03:14 -07:00
David Tomaschik
1d0a09c442 Bump Brewfile 2026-04-07 16:32:02 -07:00
David Tomaschik
37c765ae29 Update for bundles 2026-04-07 16:02:49 -07:00
David Tomaschik
41f8a49381 Remove missing brew entry 2026-04-07 14:53:41 -07:00
David Tomaschik
3f9c41d266 Merge branch 'main' of https://github.com/Matir/skel 2026-04-06 18:34:17 -07:00
David Tomaschik
69e4b83652 Fix brew manager 2026-04-06 18:34:06 -07:00
David Tomaschik
74c2472dd2 Fix zsh completion 2026-04-06 15:30:14 -07:00
David Tomaschik
ecc39344ca Improve gemini context 2026-04-02 16:37:51 -07:00
David Tomaschik
49a314e388 Merge branch 'main' of github.com:Matir/skel 2026-04-01 23:02:57 -07:00
David Tomaschik
41293eb788 Add more vscode extensions 2026-04-01 23:02:55 -07:00
David Tomaschik
05798dcb67 Update AGENTS.md 2026-04-01 18:24:15 -07:00
David Tomaschik
4e1b263170 Remove weechat 2026-04-01 14:23:54 -07:00
David Tomaschik
46c00c61be Update dotfiles 2026-04-01 14:02:33 -07:00
David Tomaschik
ce973d5bbf Update shenv SSH_AUTH_SOCK code 2026-03-31 14:06:57 -07:00
David Tomaschik
f326992306 Merge branch 'main' of https://github.com/Matir/skel 2026-03-31 13:41:38 -07:00
David Tomaschik
7f76b24cb9 Update SSH_AUTH_SOCK logic 2026-03-31 13:41:36 -07:00
David Tomaschik
a5b08680c5 Fix brew install issues 2026-03-31 13:25:52 -07:00
David Tomaschik
2510f1ad87 Skel updates 2026-03-26 16:21:32 -07:00
David Tomaschik
b6af18017b Updates 2026-03-25 08:25:03 -07:00
David Tomaschik
829f7ae1de Remove unneeded keep files 2026-03-24 19:26:53 +00:00
David Tomaschik
6fd9769ccc Merge branch 'main' of github.com:Matir/skel 2026-03-21 16:23:43 -07:00
David Tomaschik
758c59bc8e Updates 2026-03-21 16:23:32 -07:00
David Tomaschik
39e003f666 Stop tracking fish_variables 2026-03-19 13:47:18 -07:00
David Tomaschik
5b1bb1c233 Handle /etc/profile overriding PATH 2026-03-16 13:55:14 -04:00
David Tomaschik
2e0ebb4d6f Update mise 2026-03-11 12:51:54 -04:00
David Tomaschik
31aeca1b73 Fix shenv 2026-02-27 17:22:35 -08:00
David Tomaschik
7006974bb3 Fix shell startup. 2026-02-27 16:12:42 -08:00
David Tomaschik
92fb8cb47d Fix ycm 2026-02-25 20:31:28 -08:00
David Tomaschik
a46ee1f24c Update global gitignore 2026-02-25 16:56:18 -08:00
David Tomaschik
c1b565f2c5 Remove zshrc.d/rvm.zsh 2026-02-23 18:45:45 -08:00
David Tomaschik
0ded57fa46 Mise/code updates 2026-02-23 18:45:24 -08:00
David Tomaschik
f1495add30 Fix paths 2026-02-22 10:08:10 -08:00
David Tomaschik
a6146c2763 Brain fart 2026-02-21 11:55:42 -08:00
David Tomaschik
60f68f11a2 Fiz 2026-02-21 11:52:50 -08:00
David Tomaschik
a1262e9fba ZSH updates 2026-02-21 11:37:04 -08:00
David Tomaschik
d5a3ed41c6 Add dotfiles repo 2026-02-21 10:58:05 -08:00
David Tomaschik
295ef071ee Update config and add zazu sk pubkey. 2026-02-20 19:14:36 -08:00
David Tomaschik
313c16bdc9 Fix mise/fish 2026-02-20 17:42:19 -08:00
David Tomaschik
fad65e2aaa Update tmux config 2026-02-20 17:36:41 -08:00
David Tomaschik
00696b23fa Updates 2026-02-20 17:15:39 -08:00
David Tomaschik
1c0c5dd32b Update zshrc order 2026-02-20 16:19:09 -08:00
David Tomaschik
8cac819127 Update gitconfig 2026-02-20 15:56:04 -08:00
David Tomaschik
0ebc32e30a Cleanup aliases 2026-02-20 15:18:10 -08:00
David Tomaschik
a0378fb583 Update gemini settings.json 2026-02-20 14:43:22 -08:00