Skip to content

Commit 343ce6d

Browse files
chapterjasonclaude
andcommitted
Add codex init and persist RTK state across workspace rebuilds
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e46e333 commit 343ce6d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

scripts/rtk/install.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,15 @@ fi
2323
2424
mkdir -p "$HOME/.claude"
2525
rtk init -g --auto-patch
26+
rtk init -g --codex
2627
EOF
2728
chmod 0755 "$HOME/.local/share/rtk/post-create.sh"
29+
30+
sudo mkdir -p /etc/home-persist.d
31+
sudo tee /etc/home-persist.d/rtk.json >/dev/null <<'EOF'
32+
{
33+
"source": "rtk",
34+
"paths": [".config/rtk", ".local/share/rtk/history.db"]
35+
}
36+
EOF
37+

0 commit comments

Comments
 (0)