comparison rc/bashrc @ 582:3e051a850ecf

Support tmux 2.*
author nanaya <me@myconan.net>
date Fri, 05 Feb 2016 00:42:02 +0900
parents b3c05c6be28d
children 4130d41c6acb
comparison
equal deleted inserted replaced
581:b3c05c6be28d 582:3e051a850ecf
282 # FIXME: OpenBSD version check 282 # FIXME: OpenBSD version check
283 _tmux_conf_ver=1.9 283 _tmux_conf_ver=1.9
284 ;; 284 ;;
285 *) 285 *)
286 case "$(tmux -V 2> /dev/null)" in 286 case "$(tmux -V 2> /dev/null)" in
287 "tmux 1."[1-9][0-9][0-9]*|"tmux 1.9"*|"tmux 2.0"*) _tmux_conf_ver=1.9;; 287 "tmux 1."[1-9][0-9][0-9]*|"tmux 1.9"*|"tmux 2."*) _tmux_conf_ver=1.9;;
288 "tmux 1."[4-8]) _tmux_conf_ver=1.4;; 288 "tmux 1."[4-8]) _tmux_conf_ver=1.4;;
289 *) _tmux_conf_ver=1.3;; 289 *) _tmux_conf_ver=1.3;;
290 esac 290 esac
291 ;; 291 ;;
292 esac 292 esac