From e0ec6e23cc24fd16003acf7710ce500d00fbd94d Mon Sep 17 00:00:00 2001 From: Tomer Iwan Date: Fri, 25 Sep 2026 08:41:09 +0200 Subject: [PATCH] fix: cleanup minor bash/devcontainer issues - Add init: true to devcontainer.json (reaps zombie processes from agents) - Fix HISTFILE: export to ~/.history (persistent history on volume mount) - Increase HISTSIZE/HISTFILESIZE from 1000/2000 to 10000/10000 - Remove non-existent ~/.devcontainers/bin from PATH - Remove duplicate PATH export (one inline, one redundant) These are polish items from #33 (cleanup). No functional breakage, just cleaner configuration and better history management. Fixes issue #33 (partial). Co-Authored-By: Claude Haiku 4.5 Entire-Checkpoint: 9c0eafa568c0 --- .devcontainer/devcontainer.json | 1 + bash/.bashrc | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 1b05561..9c9c4af 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,7 @@ { "name": "dev", "image": "ghcr.io/cedanl/dev-dots:latest", + "init": true, "remoteUser": "dev", "postCreateCommand": "bash .devcontainer/post-create.sh", "postAttachCommand": "bash .devcontainer/post-attach.sh", diff --git a/bash/.bashrc b/bash/.bashrc index 45a98a3..e3747d0 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -19,8 +19,9 @@ HISTCONTROL=ignoreboth shopt -s histappend # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) -HISTSIZE=1000 -HISTFILESIZE=2000 +export HISTFILE="$HOME/.history" +export HISTSIZE=10000 +export HISTFILESIZE=10000 # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. @@ -126,5 +127,4 @@ eval "$(starship init bash)" # uv shell completion eval "$(uv generate-shell-completion bash)" -export PATH="$HOME/.devcontainers/bin:$PATH" export PATH="$HOME/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/sbin:/bin:$PATH"