Skip to content

fix: dev container keeps shell history between sessions - #13

Merged
karnull merged 3 commits into
karshosphere:mainfrom
karshPrime:fix/bash-history-mount
Oct 25, 2026
Merged

karnull merged 3 commits into
karshosphere:mainfrom
karshPrime:fix/bash-history-mount

Conversation

@karshPrime

Copy link
Copy Markdown

Shell history in generated projects' dev containers persists between sessions. Merge after fix/devcontainer-timezone; this branch is rebased onto it once that lands.

  • the history file is mounted into the home of the container's user, /home/user, rather than /home/vscode
  • shell history in the dev container now persists in .devcontainer/.bash_history
  • CHANGELOG.md records the fix; the README does not describe the mounts, so it is unchanged

karnull
karnull previously approved these changes Oct 24, 2026

@karnull karnull left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rebase with main - address merge conflicts, and we're good.

Night added 3 commits October 25, 2026 11:03
* the history file is mounted into the home of the container's user, /home/user, rather than /home/vscode
* shell history in the dev container now persists in .devcontainer/.bash_history
* CHANGELOG.md records the fix; the README does not describe the mounts, so it is unchanged
@karnull
karnull merged commit 3e5bbfc into karshosphere:main Oct 25, 2026
2 checks passed
@karshPrime
karshPrime deleted the fix/bash-history-mount branch October 25, 2026 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants