Add more info in WSL to left status

This commit is contained in:
Kenneth Benzie 2022-02-10 22:25:36 +00:00
parent 206aa05eee
commit bcc6dac2cc

View File

@ -118,7 +118,9 @@ if -b '[ "`uname`" = "Darwin" ]' \
"xclip -i -sel p -f | xclip -i -sel c"'
# Left status style
setw -g status-left " #(hostname)|#{session_name}"
if -b '[ -n $WSL_DISTRO_NAME ]' \
'setw -g status-left " #(hostname)|#{WSL_DISTRO_NAME}|#{session_name}"' \
'setw -g status-left " #(hostname)|#{session_name}"'
setw -g status-left-style fg=colour240,bg=colour233
setw -g status-left-length 32