From f1142f58a81436d6e985aeeb13e3a251cb5d45de Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 4 Feb 2026 00:36:58 -0800 Subject: [PATCH] tmux: remove prompt from codex session shortcut --- dotfiles/tmux.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dotfiles/tmux.conf b/dotfiles/tmux.conf index dc6932e4..c9d5464d 100644 --- a/dotfiles/tmux.conf +++ b/dotfiles/tmux.conf @@ -14,6 +14,5 @@ set-hook -g session-created 'run-shell " "' # Create a new Codex session from the current pane path and switch to it. -# Prefix + C prompts for the session name (default: "-codex"). -bind-key C command-prompt -p "Codex session name:" -I "#{session_name}-codex" \ - "new-session -d -s '%%' -c '#{pane_current_path}' 'codex --dangerously-bypass-approvals-and-sandbox' \; switch-client -t '%%'" +# Prefix + C starts a new session without prompting for a name. +bind-key C new-session -c '#{pane_current_path}' 'codex --dangerously-bypass-approvals-and-sandbox'