mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 00:05:01 +00:00
feat: Configure bash history to save commands immediately
This commit is contained in:
parent
87a964355b
commit
0a23c4abd6
1 changed files with 4 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue