diff --git a/tmux.conf b/tmux.conf index b63810d..a12b941 100644 --- a/tmux.conf +++ b/tmux.conf @@ -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