From 50abe47b01d6d707f5f3137bebd4d490834719ea Mon Sep 17 00:00:00 2001 From: Night Date: Sun, 25 Oct 2026 10:51:43 +1100 Subject: [PATCH 1/3] fix: dev container keeps shell history between sessions * 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 --- template/.devcontainer/devcontainer.json.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/.devcontainer/devcontainer.json.jinja b/template/.devcontainer/devcontainer.json.jinja index d3df70c..a8a055e 100644 --- a/template/.devcontainer/devcontainer.json.jinja +++ b/template/.devcontainer/devcontainer.json.jinja @@ -19,7 +19,7 @@ "mounts": [ "type=bind,source=/etc/localtime,target=/etc/localtime,readonly", - "source=${localWorkspaceFolder}/.devcontainer/.bash_history,target=/home/vscode/.bash_history,type=bind,consistency=cached" + "source=${localWorkspaceFolder}/.devcontainer/.bash_history,target=/home/user/.bash_history,type=bind,consistency=cached" ], } From 7d8499817a1992ab8c2c2430723e5074ac235e8c Mon Sep 17 00:00:00 2001 From: Night Date: Sun, 25 Oct 2026 10:51:43 +1100 Subject: [PATCH 2/3] chore: version v2.1.2 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 826e142..5969682 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v2.1.1 +v2.1.2 From d26410a86a2ab4793b221d095e20cc3ea4ecfed3 Mon Sep 17 00:00:00 2001 From: Night Date: Sun, 25 Oct 2026 10:51:43 +1100 Subject: [PATCH 3/3] docs: changelog for fix/bash-history-mount * CHANGELOG.md records the fix; the README does not describe the mounts, so it is unchanged --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b4c8c3..20f9989 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,3 +10,4 @@ * feature/makefile: generated projects ship a Makefile with build, format, format-dry-run, test and release targets in place of run.sh, with make in the dev container and the shared CI calling make. * feature/root-answers-file: generated projects keep their Copier answers in `.copier-py-answers.yml` at the root rather than in `.copier-generic-project/`; existing projects move the file once before their next update. * fix/devcontainer-timezone: the dev container, and CI with it, starts on hosts that have no /etc/timezone. +* fix/bash-history-mount: shell history in the dev container persists between sessions.