> If I do: man tmux then split the screen. The directory will be
> /usr/share/man.

This is currently working as intended. The command man actually changes
directory to /usr/share/man for some reason and because it is the
foreground process leader, tmux uses that as the initial directory for
the new panes. You might even try fixing man's code and sending it
upstream.

Alternatively, if tmux would use the session leader for determining the
cwd, then this wouldn't be a problem because it would always use shell's
current directory. I think this would be annoying for some people but
beneficial for some other people so I'd even think an option would be
good for this.

-- 
Balazs

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to