comparison rc/bashrc @ 590:756cfd9f5bc8

Add tmux 2.2+ config
author nanaya <me@myconan.net>
date Sun, 24 Jul 2016 22:41:54 +0900
parents 394f19c180a2
children 23e326f74bfd
comparison
equal deleted inserted replaced
589:7fbadf8bd22e 590:756cfd9f5bc8
291 # FIXME: OpenBSD version check 291 # FIXME: OpenBSD version check
292 _tmux_conf_ver=1.9 292 _tmux_conf_ver=1.9
293 ;; 293 ;;
294 *) 294 *)
295 case "$(tmux -V 2> /dev/null)" in 295 case "$(tmux -V 2> /dev/null)" in
296 "tmux 1."[1-9][0-9][0-9]*|"tmux 1.9"*|"tmux 2."*) _tmux_conf_ver=1.9;; 296 "tmux 2."[2-9]|"tmux 2."[1-9][0-9][0-9]*) _tmux_conf_ver=2.2;;
297 "tmux 1.9"|"tmux 1."[1-9][0-9][0-9]*|"tmux 2."[0-1]) _tmux_conf_ver=1.9;;
297 "tmux 1."[4-8]) _tmux_conf_ver=1.4;; 298 "tmux 1."[4-8]) _tmux_conf_ver=1.4;;
298 *) _tmux_conf_ver=1.3;; 299 *) _tmux_conf_ver=1.3;;
299 esac 300 esac
300 ;; 301 ;;
301 esac 302 esac