Improve git worktree session workflow
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user