Skip to content

Commit be2fe9f

Browse files
committed
fix create tmux sessions too much
1 parent 0976950 commit be2fe9f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bash/.bashrc.d/interactive.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,6 +1123,7 @@ __main() {
11231123
# return if coding agent
11241124
[ -n "$CLAUDECODE" ] && return 0
11251125
[ -n "$CURSOR_AGENT" ] && return 0
1126+
[ -n "$CODEX_THREAD_ID" ] && return 0
11261127

11271128
# always use terminal multiplexer
11281129
if [ -z "$TMUX" ] && [ -z "$VIM_TERMINAL" ] && [ ! -f '/.dockerenv' ] && type tmux >/dev/null 2>&1

0 commit comments

Comments
 (0)