comparison rc/bashrc @ 514:13deb0e1a2cc

tmux 1.3 doesn't have -V parameter.
author edogawaconan <me@myconan.net>
date Tue, 08 Apr 2014 12:03:04 +0900
parents ce21ebae61b4
children 6ef4bbc171eb
comparison
equal deleted inserted replaced
513:9066463340a4 514:13deb0e1a2cc
267 OpenBSD) 267 OpenBSD)
268 # FIXME: OpenBSD version check 268 # FIXME: OpenBSD version check
269 _tmux_conf_ver=1.9 269 _tmux_conf_ver=1.9
270 ;; 270 ;;
271 *) 271 *)
272 case "$(tmux -V)" in 272 case "$(tmux -V 2> /dev/null)" in
273 "tmux 1."[1-9][0-9]*|"tmux 1.9"*) _tmux_conf_ver=1.9;; 273 "tmux 1."[1-9][0-9]*|"tmux 1.9"*) _tmux_conf_ver=1.9;;
274 "tmux 1."[4-8]*) _tmux_conf_ver=1.4;; 274 "tmux 1."[4-8]*) _tmux_conf_ver=1.4;;
275 *) _tmux_conf_ver=1.3;; 275 *) _tmux_conf_ver=1.3;;
276 esac 276 esac
277 ;; 277 ;;