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

Commit 1d762f8

Browse files
authored
Update main.tf
1 parent 091304b commit 1d762f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

claude-code/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ resource "coder_script" "claude_code" {
151151
export LC_ALL=en_US.UTF-8
152152
153153
# Create a new tmux session in detached mode
154-
tmux new-session -d -s claude-code -c ${var.folder} "claude --dangerously-skip-permissions"
154+
cd ${var.folder}
155+
tmux new-session -d -s claude-code "claude --dangerously-skip-permissions"
155156
156157
# Send the prompt to the tmux session if needed
157158
if [ -n "$CODER_MCP_CLAUDE_TASK_PROMPT" ]; then

0 commit comments

Comments
 (0)