tmux uses file descriptors for paths now which is more robust but this is one of the side effects.
There was talk of preserving PWD to give some shells a hint about symlinks but I forget what happened to it, it may be one of the two environment handling diffs in my inbox although neither looks like it. You could try fiddling with putting PWD in update-environment and see if that helps, or stick something like this in your .profile (this is what I used to do when my home was a symlink): [ "x${PWD#/data/home/}" != "x$PWD" ] && cd ~/${PWD#/data/home/} On Fri, Mar 07, 2014 at 01:09:08AM -0500, Helmut Tessarek wrote: > Something has changed in 1.9 how tmux resolves directories. > > I start tmux in my home directory (/home/tessus): > > [tessus@atvie01s 0 ~]$ pwd > /home/tessus > [tessus@atvie01s 0 ~]$ tmux > > After starting tmux, the prompt in tmux looks like this (instead of the ~): > > [tessus@atvie01s 0 /data/home/tessus]$ > > It seems that version 1.9 uses the return value of "readlink -f `pwd`" instead > of `pwd`. > > My /home is a link: > > [tessus@atvie01s 0 ~]$ ls -ld /home > lrwxrwxrwx 1 root root 11 2007-09-01 19:34 /home -> /data/home/ > > I'm curious, because tmux 1.9 behaves differently than 1.8. In 1.8 tmux > wouldn't have changed the directory from /home/tessus to /data/home/tessus. > > Any chance that I can tell tmux not to expand (canonicalize) my working > directory? > > Cheers, > Helmut > > -- > regards Helmut K. C. Tessarek > lookup http://sks.pkqs.net for KeyID 0xC11F128D > > /* > Thou shalt not follow the NULL pointer for chaos and madness > await thee at its end. > */ > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and the > freedom to use Git, Perforce or both. Make the move to Perforce. > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users