Improve git worktree session workflow

This commit is contained in:
2026-08-10 12:42:53 +01:00
parent c97c9cb027
commit 56b5bdb5ac
6 changed files with 67 additions and 4 deletions

View File

@@ -3,7 +3,10 @@ if -b '[ "$WSL_DISTRO_NAME" != "" ]' \
'setw -g status-left " #(hostname)|#{WSL_DISTRO_NAME}|#{session_name}"' \
'setw -g status-left " #(hostname -s)|#{session_name}"'
setw -g status-left-style fg=colour240,bg=colour233
setw -g status-left-length 32
# Only a maximum, and the component is never padded out to it, so leave room
# for the hostname beside a full session name: project sessions are named after
# a path, e.g. modularml/modular@benie/some-branch.
setw -g status-left-length 100
# Centre status style
setw -g status-style fg=colour240,bg=colour233