1
0
Fork 0
mirror of synced 2024-06-06 08:11:08 -04:00

warn users about tmux >= 2.4 only when starting tmux

This commit is contained in:
Gregory Pakosz 2019-11-30 15:48:04 +01:00
parent c94f05f044
commit 1231155600

View file

@ -168,7 +168,7 @@ if '[ -f ~/.tmux.conf.local ]' 'source ~/.tmux.conf.local'
# -- 8< ------------------------------------------------------------------------
run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
run -b '[ -z "#{session_id}" ] && [ -z "#{version}" ] && tmux set display-time 3000 \; display "This configuration will soon require tmux >= 2.4" \; set -u display-time || true'
run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-time 3000 \; display "This configuration will soon require tmux >= 2.4" \; set -u display-time || true'
# EOF