On Thu, Feb 27, 2014 at 10:09:03PM +0100, Matteo Cavalleri wrote: > so when I create a new window with e.g. something piped to less the > new window opens on the root directory, always. On linux I’m compiling > tmux from sources and even with the latest commits I still get this > behavior. Is it fixable somehow?
No, the pipe creates subshells and their working directory isn't the same as the parent shell. Since pane_current_path is wp->fd, that will be the PID of the subshell created by the pipe. -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep in my heart I know I am not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.) ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users