.tmux.conf

changeset 1134
fe6ccd1afb11
parent 1133
cb91318a522e
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -40,11 +40,16 @@ set -g set-titles-string "#h(#S)"
 
 source-file ~/.tmux/screen-keys.conf
 source-file ~/.tmux/vim-keys.conf
-source-file ~/.tmux/popup.conf
+
+if-shell "tmux -V | awk '{exit !($2 >= \"3.2\")}'" {
+  source-file ~/.tmux/popup.conf
+}
 
 bind S choose-session
 bind @ choose-window 'join-pane -h -s "%%"'
 bind K kill-pane
 
-if-shell 'test -e ~/.tmux.conf.local' "source ~/.tmux.conf.local"
+if-shell 'test -e ~/.tmux.conf.local' {
+  source ~/.tmux.conf.local
+}
 

mercurial