mirror of
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

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