From aa36eac86476fd4adb01f0b28bfa86c6e010a04c Mon Sep 17 00:00:00 2001 From: Dieter Blocher Date: Thu, 30 Jan 2025 09:53:56 +0000 Subject: [PATCH] add bash_history to devcontainer --- .devcontainer/devcontainer.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 72760b0..84e4103 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -10,6 +10,10 @@ "containerEnv": { "NODE_EXTRA_CA_CERTS": "/usr/local/share/ca-certificates/sophos.crt" }, + // Add bash_history + "mounts": [ + "source=devcontainer-bash-history,target=/root/.bash_history,type=volume" + ], // Configure tool-specific properties. "customizations": { // Configure properties specific to VS Code.