# HG changeset patch # User edogawaconan # Date 1396926184 -32400 # Node ID 13deb0e1a2cc7d3dc9234761715d809789d30c01 # Parent 9066463340a419290e90be149a5550970c615169 tmux 1.3 doesn't have -V parameter. diff -r 9066463340a4 -r 13deb0e1a2cc rc/bashrc --- a/rc/bashrc Thu Mar 27 12:18:43 2014 +0900 +++ b/rc/bashrc Tue Apr 08 12:03:04 2014 +0900 @@ -269,7 +269,7 @@ _tmux_conf_ver=1.9 ;; *) - case "$(tmux -V)" in + case "$(tmux -V 2> /dev/null)" in "tmux 1."[1-9][0-9]*|"tmux 1.9"*) _tmux_conf_ver=1.9;; "tmux 1."[4-8]*) _tmux_conf_ver=1.4;; *) _tmux_conf_ver=1.3;;