8000 feat(aider): update PATH environment variable in screen session scrip… · coder/modules@2e5f484 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 2e5f484

Browse files
feat(aider): update PATH environment variable in screen session scripts to include user bin directories for improved command accessibility
1 parent 33499fb commit 2e5f484

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

aider/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ EOL
284284
# Start aider with the message flag and yes-always to avoid confirmations
285285
screen -U -dmS ${var.session_name} bash -c "
286286
cd ${var.folder}
287+
export PATH=\"$HOME/bin:$HOME/.local/bin:$PATH\"
287288
aider --yes-always --message \"$CODER_MCP_AIDER_TASK_PROMPT\" | tee -a \"$HOME/.aider.log\"
288289
/bin/bash
289290
"
@@ -313,6 +314,7 @@ EOL
313314
314315
screen -U -dmS ${var.session_name} bash -c "
315316
cd ${var.folder}
317+
export PATH=\"$HOME/bin:$HOME/.local/bin:$PATH\"
316318
aider | tee -a \"$HOME/.aider.log\"
317319
/bin/bash
318320
"

0 commit comments

Comments
 (0)
0