Hello all,
I have a utility that is getting run from my tmux status bar, and it needs
to know which session it's getting run from. I tried passing "#S" to the
command within "#()", but unfortunately it looks like the "#()" gets run
before the "#S" gets replaced. To be specific, if I put the foll
start the job and add to the tree. */
> if (so == NULL) {
> - job_run(cmd, NULL, status_job_callback, status_job_free,
> c);
> + job_run(cmd, c->session, status_job_callback,
> status_job_free, c);
> c->references++;
>
>
n you create it.
>
>
> On Mon, Jul 14, 2014 at 12:38:39PM -0400, Elliot Saba wrote:
> >Unfortunately, that doesn't seem to work. **I'm testing via the
> following:
> >
> >Put this in my .tmux.conf:
> >set -g status-right '#(~/tmuxtest.
on
>
>
>
> ---- Original message
> From: Elliot Saba
> Date: 15/07/2014 07:08 (GMT+00:00)
> To: Nicholas Marriott
> Cc: tmux-users@lists.sourceforge.net
> Subject: Re: Passing session name to external command in status bar
>
>
> Thanks, I was just debuggi
If I wanted to get this (or an improved patch) merged into mainline tmux,
where would I submit a pull request to?
-E
On Tue, Jul 15, 2014 at 3:32 AM, Elliot Saba wrote:
> I couldn't get that to work, so I went ahead and patched tmux to expand
> format sequences contained within sh
gt; Original message ----
> From: Elliot Saba
> Date: 15/07/2014 17:18 (GMT+00:00)
> To: Nicholas Marriott
> Cc: tmux-users@lists.sourceforge.net
> Subject: Re: Passing session name to external command in status bar
>
>
> If I wanted to get this (or an impro
gt; wrote:
> Hi
>
> Why not do this entirely in status_find_job?
>
>
> On Tue, Jul 15, 2014 at 12:50:02PM -0400, Elliot Saba wrote:
> >The diff is available
> >here:**[1]
> https://gist.githubusercontent.com/staticfloat/9e58c9a479a9f541cc6c/raw/c8ad7d9ad8486e83