Skip to content

chore: persist bash history in the repository dev container - #204

Merged
nozaq merged 1 commit into
mainfrom
claude/fervent-goldberg-14sa6t
Sep 13, 2026
Merged

nozaq merged 1 commit into
mainfrom
claude/fervent-goldberg-14sa6t

Conversation

@nozaq

@nozaq nozaq commented Sep 13, 2026

Copy link
Copy Markdown
Member

#202 gave every template a ${devcontainerId}-bash-history volume but left the dev container this repository is developed in without one. This applies the same configuration there.

Changes

  • .devcontainer/devcontainer.json: mount a ${devcontainerId}-bash-history volume on /home/dev/.local/state/bash, the directory the debian base points HISTFILE at.
  • .devcontainer/Dockerfile: move the base digest to the trixie-20260913 build, the first release that creates that directory as dev. Without it Docker would create the mount point and it would be owned by root.

🤖 Generated with Claude Code

https://claude.ai/code/session_013U5NgFxAibDwMQQ13ZdZxh


Generated by Claude Code

The templates mount a named volume on the directory the image points HISTFILE
at; apply the same to the dev container this repository is developed in.

The base pin moves to the release that creates the directory: without it the
mount point would be created by Docker and owned by root instead of dev.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013U5NgFxAibDwMQQ13ZdZxh
@nozaq
nozaq marked this pull request as ready for review September 13, 2026 01:59
@nozaq
nozaq merged commit 15f5081 into main Sep 13, 2026
3 checks passed
@nozaq
nozaq deleted the claude/fervent-goldberg-14sa6t branch September 13, 2026 02:00
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