Re: Using tmux in every terminal

2014-04-06 Thread Kasza Péter
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()

Re: Using tmux in every terminal

2014-04-06 Thread vlamy
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

Re: use "--" to mark start of command w/ neww etc to avoid quoting

2014-04-06 Thread Nicholas Marriott
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.