sorry, I didn’t test it. I either missed the mail or was so busy I forgot it.
my linux machine is the one I use to work, so I’ll patch it tomorrow or as soon
as I can. I’ll let you know if it works.
thanks for the patch!
> This doesn't actually fix the problem for me on Linux, does it for bot
> From: Balazs Kezes
> Date: 17/04/2014 20:42 (GMT+00:00)
> To: Nicholas Marriott
> Cc: Matteo Cavalleri ,
> tmux-users@lists.sourceforge.net
> Subject: Re: problem with new-window and current directory
>
>On 2014-04-17 15:25 +0100, Nicholas Marriott wrote:
Oh I tested it incorrectly. I'll look again when I get home.
Original message
From: Balazs Kezes
Date: 17/04/2014 20:42 (GMT+00:00)
To: Nicholas Marriott
Cc: Matteo Cavalleri ,
tmux-users@lists.sourceforge.net
Subject: Re: problem with new-window and current dire
On 2014-04-17 15:25 +0100, Nicholas Marriott wrote:
> This doesn't actually fix the problem for me on Linux, does it for
> both of you?
It does fix it for me. I actually use it for a while now and never seen
a new pane starting in /. Can you tell me how do you test it and
possibly step through the
This doesn't actually fix the problem for me on Linux, does it for both
of you?
On Sun, Mar 02, 2014 at 03:18:10PM +, Balazs Kezes wrote:
> On 2014-02-27 22:09, Matteo Cavalleri wrote:
> > $ cat /etc/hosts | less # the pipe is important here
> > [...]
> > so when I create a new window with e.
Hmm yeh you're right it needs pid
Original message
From: Balazs Kezes
Date: 06/03/2014 15:00 (GMT+00:00)
To: Nicholas Marriott
Cc: Matteo Cavalleri ,
tmux-users@lists.sourceforge.net
Subject: Re: problem with new-window and current directory
On 2014-03-06
On 2014-03-06 12:55, Nicholas Marriott wrote:
> Why not getsid()?
Don't you need a pid for that? I haven't tried but I think we could use
/proc/(window_pane.pid)/cwd for this if we pass the pid down to this
function and then we don't even need the session id queries at all.
--
Balazs
--
Why not getsid()?
On Sun, Mar 02, 2014 at 03:18:10PM +, Balazs Kezes wrote:
> On 2014-02-27 22:09, Matteo Cavalleri wrote:
> > $ cat /etc/hosts | less # the pipe is important here
> > [...]
> > so when I create a new window with e.g. something piped to less the
> > new window opens on the r
On 2014-02-27 22:09, Matteo Cavalleri wrote:
> $ cat /etc/hosts | less # the pipe is important here
> [...]
> so when I create a new window with e.g. something piped to less the
> new window opens on the root directory, always.
It seems that tmux tries to determine the pane's current directory by
>> Date: 27/02/2014 22:28 (GMT+00:00)
>> To: Nicholas Marriott
>> Cc: tmux-users@lists.sourceforge.net
>> Subject: Re: problem with new-window and current directory
>>
>>
>> well, from my point of view (and the way i usually work) that won't be a
>> p
)
>> To: Nicholas Marriott
>> Cc: tmux-users@lists.sourceforge.net
>> Subject: Re: problem with new-window and current directory
>>
>>
>> well, from my point of view (and the way i usually work) that won't be a
>> problem at all, and in any case I think it
Matteo Cavalleri
> Date: 27/02/2014 22:28 (GMT+00:00)
> To: Nicholas Marriott
> Cc: tmux-users@lists.sourceforge.net
> Subject: Re: problem with new-window and current directory
>
>
> well, from my point of view (and the way i usually work) that won't be a
> problem at
I think there might be pane_start_path as well which would work for you.
Original message
From: Matteo Cavalleri
Date: 27/02/2014 22:28 (GMT+00:00)
To: Nicholas Marriott
Cc: tmux-users@lists.sourceforge.net
Subject: Re: problem with new-window and current directory
;>> about it.
>>>
>>>
>>> Original message
>>> From: Matteo Cavalleri
>>> Date: 27/02/2014 21:09 (GMT+00:00)
>>> To: tmux-users@lists.sourceforge.net
>>> Subject: problem with new-window and current d
> > Date: 27/02/2014 21:09 (GMT+00:00)
> > To: tmux-users@lists.sourceforge.net
> > Subject: problem with new-window and current directory
> >
> >
> > Hi, i?m using tmux 1.9a on osx and I have the following problem when i
> > create a new window.
> &g
riginal message
> From: Matteo Cavalleri
> Date: 27/02/2014 21:09 (GMT+00:00)
> To: tmux-users@lists.sourceforge.net
> Subject: problem with new-window and current directory
>
>
> Hi, i’m using tmux 1.9a on osx and I have the following problem when i create
>
The mechanism is not always reliable, not sure there is much we can do about it.
Original message
From: Matteo Cavalleri
Date: 27/02/2014 21:09 (GMT+00:00)
To: tmux-users@lists.sourceforge.net
Subject: problem with new-window and current directory
Hi, i’m using tmux
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 f
Hi, i’m using tmux 1.9a on osx and I have the following problem when i create a
new window.
in my .tmux.config:
bind-key c new-window -c '#{pane_current_path}’
steps to reproduce the problem
$ cd
$ tmux
$ cd /usr/local
C-b c -> creates a new window in /usr/local
$ exit # closes the new windo
19 matches
Mail list logo