Re: Per-session current directory

2011-01-20 Thread Julio Merino
On 1/18/11 4:28 PM, Nicholas Marriott wrote: > suppose could update s->cwd on attach but it doesn't do much good if you > switch your client plus if you attach somewhere else then suddenly your > cwd is gone > > better might be to use the cmd client cwd, eg try this (untested) Doesn't seem to work

Re: Per-session current directory

2011-01-18 Thread Julio Merino
On 1/18/11 5:25 PM, Nicholas Marriott wrote: > On Tue, Jan 18, 2011 at 04:42:00PM +, Julio Merino wrote: >> On 1/18/11 4:28 PM, Nicholas Marriott wrote: >>> suppose could update s->cwd on attach but it doesn't do much good if you >>> switch your client plus if you attach somewhere else then sud

Re: Per-session current directory

2011-01-18 Thread Nicholas Marriott
On Tue, Jan 18, 2011 at 04:42:00PM +, Julio Merino wrote: > On 1/18/11 4:28 PM, Nicholas Marriott wrote: > >suppose could update s->cwd on attach but it doesn't do much good if you > >switch your client plus if you attach somewhere else then suddenly your > >cwd is gone > > > >better might be t

Re: Per-session current directory

2011-01-18 Thread Nicholas Marriott
suppose could update s->cwd on attach but it doesn't do much good if you switch your client plus if you attach somewhere else then suddenly your cwd is gone better might be to use the cmd client cwd, eg try this (untested) Index: cmd-new-window.c ==