Commit Graph

1157 Commits

Author SHA1 Message Date
David Tomaschik
da1ee162c2 Script cleanup 2026-07-06 15:59:12 -07:00
David Tomaschik
22b3f2e049 Update install_tool 2026-07-01 12:15:39 -07:00
David Tomaschik
b81ca9703b Fix broken shenv merge 2026-06-30 12:24:00 -07:00
David Tomaschik
be903aeb2c Merge branch 'main' of https://github.com/Matir/skel 2026-06-30 12:22:44 -07:00
David Tomaschik
37816c7f72 Merge branch 'main' of https://github.com/Matir/skel 2026-06-30 12:20:24 -07:00
David Tomaschik
63f8bb9364 Update SSH socket handling 2026-06-30 12:20:00 -07:00
David Tomaschik
691b2a7c6f shenv update 2026-06-30 10:57:52 -07:00
David Tomaschik
8e42781710 Merge branch 'main' of https://github.com/Matir/skel 2026-06-30 10:47:42 -07:00
David Tomaschik
de601c4a83 Update dotfiles 2026-06-30 10:47:40 -07:00
David Tomaschik
684f6c6e95 Update update-authorized-keys 2026-06-29 23:01:21 -07:00
David Tomaschik
91972eed59 Update ssh keys 2026-06-29 22:49:37 -07:00
David Tomaschik
eca9a6bcb2 Merge branch 'main' of github.com:Matir/skel 2026-06-29 22:42:10 -07:00
David Tomaschik
3214af0617 Add authorized_keys.d 2026-06-29 22:35:18 -07:00
David Tomaschik
be3fdefd23 Bump brewfile 2026-06-24 13:22:53 -07:00
David Tomaschik
00eb8832c2 Move codex 2026-06-24 13:21:27 -07:00
David Tomaschik
5852b8564f Brewfile update for veracrypt 2026-06-24 13:06:28 -07:00
David Tomaschik
f56bcf4cdf bump brewfile 2026-06-19 14:20:59 -07:00
David Tomaschik
ad135fac37 Updates 2026-06-19 14:17:48 -07:00
David Tomaschik
e4b9a7c16b Merge branch 'main' of https://github.com/Matir/skel 2026-06-18 12:11:22 -07:00
David Tomaschik
75348c4413 Fixup zcompile 2026-06-18 12:11:17 -07:00
David Tomaschik
2e0c11c044 Support LC paths 2026-06-09 08:59:05 -07:00
David Tomaschik
68daa27893 Remove starship custom for gemini-cli 2026-06-04 14:41:59 -07:00
David Tomaschik
398d55b8e4 Add newnote 2026-06-02 15:40:34 -07:00
David Tomaschik
c9918cf213 Update install.sh 2026-05-27 16:53:38 -07:00
David Tomaschik
d1e3c8e43e Update gitignore 2026-05-27 15:58:25 -07:00
David Tomaschik
f4bb5108ab Add SCRIPT_DIR 2026-05-26 14:32:06 -07:00
David Tomaschik
5eac8826da Cleanup 2026-05-26 14:21:13 -07:00
David Tomaschik
b1d625d3c5 Merge branch 'main' of https://github.com/Matir/skel 2026-05-26 14:12:43 -07:00
David Tomaschik
5a7d9cf060 Update skel, common functions. 2026-05-26 14:12:32 -07:00
David Tomaschik
9770514d6a Finish brew updates 2026-05-25 15:11:06 -07:00
David Tomaschik
e1724c77f3 Update Brewfile 2026-05-22 18:23:18 -07:00
David Tomaschik
ecbc25e5ac Improve skelify 2026-05-20 14:35:14 -07:00
David Tomaschik
ea33840ef6 Merge branch 'main' of https://github.com/Matir/skel 2026-05-19 17:02:08 -07:00
David Tomaschik
1048775da3 Update skel 2026-05-19 17:02:05 -07:00
David Tomaschik
c9af80bc5d Merge branch 'main' of https://github.com/Matir/skel 2026-05-19 13:44:52 -07:00
David Tomaschik
d8b4991419 End homebrew hints 2026-05-19 13:44:38 -07:00
David Tomaschik
158d9f6e4e Update Brewfile 2026-05-09 18:47:15 -07:00
David Tomaschik
b1d1c42a02 bump brewfile 2026-05-07 13:43:44 -07:00
David Tomaschik
f8ec9cc338 fix update_brewfile 2026-05-07 08:56:32 -07:00
David Tomaschik
6e3c3dd269 Move keybase to off-corp brewfile 2026-05-07 08:50:45 -07:00
David Tomaschik
77b8374871 Add difft difftool 2026-05-07 08:41:59 -07:00
David Tomaschik
4645682b5c Merge branch 'main' of github.com:Matir/skel 2026-05-07 01:16:56 -07:00
David Tomaschik
75bdebb497 bump 2026-05-07 01:16:54 -07:00
David Tomaschik
4e72b9b18c Update gitconfig 2026-04-28 15:20:24 -07:00
David Tomaschik
bd2c2287cd Add more functions 2026-04-23 10:34:21 -07:00
David Tomaschik
db2c02bd2d Cleanup 2026-04-21 15:59:38 -07:00
David Tomaschik
fec16225e4 Build update-authorized-keys 2026-04-21 14:39:32 -07:00
David Tomaschik
fa6a878487 Fix SSH agent forwarding clobbered by local agent in shenv (#14)
* 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

* 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

* 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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-04-18 19:20:43 -07: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