You can probably make your first solution more reliable by using pane
ids. Store the output of "tmux display -p '#{window_id}'" in an
environment variable when doing the renamew and then use it as the
target when restoring, so that the right window gets renamed back.
There is not actually much tmu
On Wed, Aug 08, 2012 at 11:21:19PM -0700, John Magolske wrote:
> * John Magolske [120805 23:40]:
> > > * John Magolske [120801 09:15]:
> > > > I'm trying to get the title of the active pane in the status line to
> > > > display $PWD when no command is active, and the current command when
> > > >
* John Magolske [120805 23:40]:
> > * John Magolske [120801 09:15]:
> > > I'm trying to get the title of the active pane in the status line to
> > > display $PWD when no command is active, and the current command when
> > > a command is active. So, for example, if I cd to ~/Mail in the active
> >
Just found some problems with using "rename-window" in the approach
outlined below...
* John Magolske [120802 20:30]:
> Ok, figured out something that works...
>
> * John Magolske [120801 09:15]:
> > I'm trying to get the title of the active pane in the status line to
> > display $PWD when no c
Ok, figured out something that works...
* John Magolske [120801 09:15]:
> I'm trying to get the title of the active pane in the status line to
> display $PWD when no command is active, and the current command when
> a command is active. So, for example, if I cd to ~/Mail in the active
> pane of w
I'm trying to get the title of the active pane in the status line to
display $PWD when no command is active, and the current command when
a command is active. So, for example, if I cd to ~/Mail in the active
pane of window 7 the status line would be simply: 7*Mail
Then if I invoke the vifm file br