feat: Configure bash history to save commands immediately

This commit is contained in:
Paul Gauthier (aider) 2024-12-24 08:03:01 -05:00
parent 87a964355b
commit 0a23c4abd6

View file

@ -7,6 +7,10 @@ docker run \
-v `pwd`/tmp.benchmarks/.:/benchmarks \
-e OPENAI_API_KEY=$OPENAI_API_KEY \
-e HISTFILE=/aider/.bash_history \
-e PROMPT_COMMAND='history -a' \
-e HISTCONTROL=ignoredups \
-e HISTSIZE=10000 \
-e HISTFILESIZE=20000 \
-e AIDER_DOCKER=1 \
-e AIDER_BENCHMARK_DIR=/benchmarks \
aider-benchmark \