Nicholas Marriott <nicholas.marriott <at> gmail.com> writes: > > The lock-command doesn't have $TMUX set, and unfortunately it isn't > trivial to implement because the lock command happens in the client > rather than the server. > > However, run-shell has $TMUX set, so you should be able to use it to set > lock-command to pass $TMUX to your script, for example: > > run 'tmux set -g lock-command "mycommand $TMUX"'
That worked perfectly in 1.9 Thanks Nicholas ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users