Re: Display of $PWD and current command in status line

2012-08-11 Thread Nicholas Marriott
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

Re: Display of $PWD and current command in status line [SOLVED]

2012-08-09 Thread SamLT
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 > > > >

Re: Display of $PWD and current command in status line [SOLVED]

2012-08-08 Thread John Magolske
* 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 > >

Re: Display of $PWD and current command in status line

2012-08-05 Thread John Magolske
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

Re: Display of $PWD and current command in status line

2012-08-02 Thread John Magolske
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

Display of $PWD and current command in status line

2012-08-01 Thread John Magolske
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