1
0
Fork 0
mirror of synced 2024-11-17 23:15:35 -05:00

fixed status line configuration when only using #{uptime_s}

This commit is contained in:
Gregory Pakosz 2019-07-28 13:34:21 +02:00
parent e0a45082eb
commit 9cb275378e

View file

@ -1148,7 +1148,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
# esac
#
# case "$status_left $status_right" in
# *'#{uptime_d}'*|*'#{uptime_h}'*|*'#{uptime_m}'*)
# *'#{uptime_d}'*|*'#{uptime_h}'*|*'#{uptime_m}'*|*'#{uptime_s}'*)
# status_left=$(echo "$status_left" | sed -E \
# -e 's/#\{(\?)?uptime_y/#\{\1@uptime_y/g' \
# -e 's/#\{(\?)?uptime_d/#\{\1@uptime_d/g' \