Re: Accessing the $TMUX environment variable from a locking script

2014-06-19 Thread Jesse Hathaway
Nicholas Marriott 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-comman

Re: Accessing the $TMUX environment variable from a locking script

2014-06-19 Thread Nicholas Marriott
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 'tmu