comparison rc/bashrc @ 592:902e74024e54

Update openbsd tmux version
author nanaya <me@myconan.net>
date Tue, 08 Nov 2016 17:09:49 +0900
parents 23e326f74bfd
children 6114dccd8b75
comparison
equal deleted inserted replaced
591:23e326f74bfd 592:902e74024e54
287 287
288 if command -v tmux > /dev/null 2>&1; then 288 if command -v tmux > /dev/null 2>&1; then
289 case "${_os}" in 289 case "${_os}" in
290 OpenBSD) 290 OpenBSD)
291 # FIXME: OpenBSD version check 291 # FIXME: OpenBSD version check
292 _tmux_conf_ver=1.9 292 _tmux_conf_ver=2.2
293 ;; 293 ;;
294 *) 294 *)
295 case "$(tmux -V 2> /dev/null)" in 295 case "$(tmux -V 2> /dev/null)" in
296 "tmux 2."[2-9]|"tmux "[3-9]"."[0-9]|"tmux "[1-9][0-9][0.9]*"."[0-9]) _tmux_conf_ver=2.2;; 296 "tmux 2."[2-9]|"tmux "[3-9]"."[0-9]|"tmux "[1-9][0-9][0.9]*"."[0-9]) _tmux_conf_ver=2.2;;
297 "tmux 1.9"|"tmux 2."[0-1]) _tmux_conf_ver=1.9;; 297 "tmux 1.9"|"tmux 2."[0-1]) _tmux_conf_ver=1.9;;