Re: problem with new-window and current directory

2014-04-19 Thread Matteo Cavalleri
s 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.g. so

Re: problem with new-window and current directory

2014-02-28 Thread Matteo Cavalleri
btw I just discovered that with pane_start_path the new window opens on / even if I'm just at the shell prompt On Fri, Feb 28, 2014 at 9:53 AM, Matteo Cavalleri wrote: > it doesn't work, the new shell still opens on / > > > > > On Fri, Feb 28, 2014 a

Re: problem with new-window and current directory

2014-02-28 Thread Matteo Cavalleri
it doesn't work, the new shell still opens on / On Fri, Feb 28, 2014 at 8:02 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > I think there might be pane_start_path as well which would work for you. > > > > Original message ---- > From:

Re: problem with new-window and current directory

2014-02-27 Thread Matteo Cavalleri
pty (not sure if Thomas Adam meant that when he talked about subshells) > But what if the process changes the directory? We can tell the pwd where > we start the command but not if it changes it. > > > On Thu, Feb 27, 2014 at 11:14:42PM +0100, Matteo Cavalleri wrote: >>

Re: problem with new-window and current directory

2014-02-27 Thread Matteo Cavalleri
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 >

problem with new-window and current directory

2014-02-27 Thread Matteo Cavalleri
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