On Sun, Sep 30, 2012 at 06:24:08PM +0000, Stuart Henderson wrote: > On 2012-09-30, Jan Stary <[email protected]> wrote: > > On current/i386, tmux seems to open a new shell with the current > > directory being the same as in the window I am opening from. > > > > What that means in particular is that if I run 'man whatever' > > in a tmux window, and open a new windowd ('ctrl-b c' in my case), > > the news shell is opened in /usr/local/man. Is that inteded? > > Yes. I dislike this behaviour by default but I do find it useful > on occasion, so I use this: > > set -g default-path . > bind C new-window -c "" > > this lets me do <prefix>-c to open a new window normally (working > directory being the same as tmux was started in) and <prefix>-C for > the new behaviour (i.e. if I'm somewhere in a deep path and don't > want to cd manually), which works well for me.
Thanks! j.

