DISPLAY should be in update-environment by default. It's also usually best to do eg:
set -ag update-environment " MYVAR" Unless you want to remove what is already there. On Tue, Apr 15, 2014 at 12:58:07PM +0200, Patrick Proba wrote: > Hello Nicholas, > thanks for the answer. It's listed as an option, you're right. > I assume I'd have to use the command "set-option update-environment > DISPLAY" for this. > Is this the recommended way to use X11 forwarding within a tmux session > from multiple machines? > Regards, > Patrick > > 2014-04-15 11:47 GMT+02:00 Nicholas Marriott > <[1]nicholas.marri...@gmail.com>: > > It's not a command, it's an option. > > -------- Original message -------- > From: Patrick Proba <[2]patrick.pr...@gmail.com> > Date: 14/04/2014 12:46 (GMT+00:00) > To: [3]tmux-users@lists.sourceforge.net > Subject: Unknown command: update-environment > > Hello, > I'm using tmux 1.6 with Ubuntu 12.04.4 LTS on 2 different machines over > ssh (one vm and one physical machine). For the connections I'm using > SmarTTY (with integrated Xming server) on Windows 8.1. > When I'm typing "Ctrl+b: update-environment" on one machine (vm), it's > working as intended. > However, on the other machine (physical), I'm getting the message > "Unknown command: update-environment". > I'm not using a custom tmux.conf file on either machine. > I'd be really glad to get some insight why the command works on one > machine, but not on the other. > Thanks in advance, > Patrick > > References > > Visible links > 1. mailto:nicholas.marri...@gmail.com > 2. mailto:patrick.pr...@gmail.com > 3. mailto:tmux-users@lists.sourceforge.net ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users