For anyone else who shares tmux configs between different versions, this is a good way to do it:
if-shell "[[ `tmux -V` == *1.9* ]]" \
'unbind c; bind c new-window -c "#{pane_current_path}"'
Re:Tmux 1.9 released
by hellabites on Sunday February 23, 2014 @06:52PM
(#7288291)
No, but I am very thankful for your posted workaround.
This kind of annoys me, but I'm successfully using this workaround (hinted at in the announcement):
bind c run 'tmux new-window -c "#{pane_current_path}"' bind-key '%' split-window -hc "#{pane_current_path}" bind-key '"' split-window -vc "#{pane_current_path}"
Anyone know why this change was made?