When I start a new window in a tmux session the current directory in that window's shell is set to whatever the current directory was when I started my first tmux session (i.e. started the tmux server, I assume).
This is weird and confusing (to me). I'd much prefer the screen behaviour -- I.e. that each session has its own current directory and new windows inherit their current dir from that (the sessions current dir). I'd even prefer that $HOME always becomes the current dir in *all* new windows above the current behaviour. It's especially confusing when I start a new session, because the *first* window of that session gets its current dir from wherever I am when I start it. I.e. # pwd /home/zrajm/2010-02-09 # tmux # pwd # inside tmux /home/zrajm/2010-02-09 Now I open a new window, and in that I get # pwd /home/zrajm (Where "/home/zrajm" is the directory I was in when I started my first tmux session.) /zrajm P.S. I'd report my tmux version, but "tmux --version" just starts a new session... ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users