Zend certified PHP/Magento developer

How to change the working directory of all the panes in a tmux window

In using tmux, I generally like to keep each window dedicated to a specific service that I’m working on. I try to minimize the number of windows that I have open and so I don’t want to just keep a window permanently open for each project that I find myself working on.

What I’d like is a way to set the working directory of every pane within my current window at once (rather than having to call cd from within each and every pane) – So that I can switch projects more easily instead of having to iterate over each pane to set the working directory