We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f04d64e commit a704b44Copy full SHA for a704b44
1 file changed
scripts/overlay-dialog.sh
@@ -279,12 +279,9 @@ case "$_display_cwd" in
279
"$HOME"/*) _display_cwd="~${_display_cwd#"$HOME"}" ;;
280
"$HOME") _display_cwd="~" ;;
281
esac
282
-# Session label: prefer CC session name (CLAUDE_SESSION_NAME) if set,
283
-# fall back to tmux window name, then omit.
+# Session label: tmux window name if available, otherwise omit.
284
_session_label=""
285
-if [ -n "${CLAUDE_SESSION_NAME:-}" ]; then
286
- _session_label="$CLAUDE_SESSION_NAME"
287
-elif [ -n "${TMUX:-}" ]; then
+if [ -n "${TMUX:-}" ]; then
288
_w="$(tmux display-message -p '#W' 2>/dev/null || true)"
289
[ -n "$_w" ] && _session_label="$_w"
290
fi
0 commit comments