Skip to content

Commit 0bf7ff2

Browse files
fix: correct command for starting Claude in tmux session within claude-code module
1 parent 72a9027 commit 0bf7ff2

File tree

1 file changed

+1
-1
lines changed
  • registry/coder/modules/claude-code

1 file changed

+1
-1
lines changed

registry/coder/modules/claude-code/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ resource "coder_app" "claude_code" {
328328
echo "Attaching to existing Claude Code tmux session." | tee -a "$HOME/.claude-code.log"
329329
# If Claude isn't running in the session, start it without the prompt
330330
if ! tmux list-panes -t claude-code -F '#{pane_current_command}' | grep -q "claude"; then
331-
tmux send-keys -t claude-code "cd ${var.folder} && claude-code -c --dangerously-skip-permissions" C-m
331+
tmux send-keys -t claude-code "cd ${var.folder} && claude -c --dangerously-skip-permissions" C-m
332332
fi
333333
tmux attach-session -t claude-code
334334
else

0 commit comments

Comments
 (0)