On Sun, Apr 06, 2014 at 10:34:27AM +0200, vlamy wrote:
>Hi !
>
>I may missunderstood your needs, but what about using the "list-panes"
>command to get the current session name ?
>
>> tmux list-panes -F '#{session_name}'
>
>By instance :
>
>~/.zshrc :
>
>> zshexit()
Hi !
I may missunderstood your needs, but what about using the "list-panes"
command to get the current session name ?
> tmux list-panes -F '#{session_name}'
By instance :
~/.zshrc :
> zshexit() {
> var=`tmux list-panes -F '#{session_name}'`
> echo "zsh exit from $var" > ~/tmux_exit
>}
wo
No sorry I just don't have a lot of time and when I do I tend to pick the
smaller stuff to look at. I'll try and look at the PATH bit this week when I
get back.
Original message
From: J Raynor
Date: 06/04/2014 03:26 (GMT+00:00)
To: Nicholas Marriott
Cc: tmux-users@lists.