Skip to content

Commit a704b44

Browse files
committed
fix(overlay): remove speculative CLAUDE_SESSION_NAME, use tmux window only
1 parent f04d64e commit a704b44

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

scripts/overlay-dialog.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -279,12 +279,9 @@ case "$_display_cwd" in
279279
"$HOME"/*) _display_cwd="~${_display_cwd#"$HOME"}" ;;
280280
"$HOME") _display_cwd="~" ;;
281281
esac
282-
# Session label: prefer CC session name (CLAUDE_SESSION_NAME) if set,
283-
# fall back to tmux window name, then omit.
282+
# Session label: tmux window name if available, otherwise omit.
284283
_session_label=""
285-
if [ -n "${CLAUDE_SESSION_NAME:-}" ]; then
286-
_session_label="$CLAUDE_SESSION_NAME"
287-
elif [ -n "${TMUX:-}" ]; then
284+
if [ -n "${TMUX:-}" ]; then
288285
_w="$(tmux display-message -p '#W' 2>/dev/null || true)"
289286
[ -n "$_w" ] && _session_label="$_w"
290287
fi

0 commit comments

Comments
 (0)