Skip to content

Conversation

jif-oai
Copy link
Contributor

@jif-oai jif-oai commented Sep 4, 2025

Session snapshot

For POSIX shell, the goal is to take a snapshot of the interactive shell environment, store it in a session file located in .codex/ and only source this file for every command that is run.
As a result, if a snapshot files exist, bash -lc <CALL> get replaced by bash -c <CALL>.

This also fixes the issue that bash -lc does not source .bashrc, resulting in missing env variables and aliases in the codex session.

POSIX unification

Unify bash and zsh shell into a POSIX shell. The rational is that the tool will not use any zsh specific capabilities.

@jif-oai jif-oai changed the title MacOS snapshots session POSIX unification and snapshot sessions Sep 5, 2025
@jif-oai jif-oai changed the title POSIX unification and snapshot sessions feat: POSIX unification and snapshot sessions Sep 8, 2025
@jif-oai jif-oai merged commit 62bd0e3 into main Sep 9, 2025
18 checks passed
@jif-oai jif-oai deleted the jif-oai/macos-snapshots branch September 9, 2025 01:09
@github-actions github-actions bot locked and limited conversation to collaborators Sep 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants