diff --git a/tmux.conf b/tmux.conf index a12b941..dd25b49 100644 --- a/tmux.conf +++ b/tmux.conf @@ -118,7 +118,7 @@ if -b '[ "`uname`" = "Darwin" ]' \ "xclip -i -sel p -f | xclip -i -sel c"' # Left status style -if -b '[ -n $WSL_DISTRO_NAME ]' \ +if -b '[ "$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