1
0
Fork 0
mirror of synced 2024-12-22 06:41:07 -05:00

detect whether default status-left value has a trailing space

This commit is contained in:
Gregory Pakosz 2014-12-29 13:51:04 +01:00
parent 1667cf9171
commit 417fdb27f5

View file

@ -214,6 +214,9 @@ run 'for name in $(printenv | grep -Eo ^tmux_conf_[^=]+); do tmux setenv -gu $na
# session_fg=colour16 # black # session_fg=colour16 # black
# session_bg=colour226 # yellow # session_bg=colour226 # yellow
# status_left="#[fg=$session_fg,bg=$session_bg,bold] ❐ #S #[fg=$session_bg,bg=$status_bg,nobold]$left_separator_black" # status_left="#[fg=$session_fg,bg=$session_bg,bold] ❐ #S #[fg=$session_bg,bg=$status_bg,nobold]$left_separator_black"
# if [ x"`tmux -q -L tmux_theme_status_left_test -f /dev/null new-session -d \; show -g -v status-left \; kill-session`" = x"[#S] " ] ; then
# status_left="$status_left "
# fi
# tmux set -g status-left-length 32 \; set -g status-left "$status_left" # tmux set -g status-left-length 32 \; set -g status-left "$status_left"
# #
# window_status_fg=colour245 # light gray # window_status_fg=colour245 # light gray