Re: [PATCH] Support showenv output as shell code

2013-08-17 Thread Nicholas Marriott
All you are adding here is escaping quotes? Why not make that the default? Original message From: Aaron Schrab Date: 12/08/2013 21:01 (GMT+00:00) To: tmux-users@lists.sourceforge.net Subject: [PATCH] Support showenv output as shell code Add -s option to the shown

Re: [PATCH] Support showenv output as shell code

2013-08-12 Thread Thomas Adam
On Mon, Aug 12, 2013 at 04:01:46PM -0400, Aaron Schrab wrote: > Add -s option to the shown-environment command which will alter the > output format to Bourne shell commands, allowing import of the > environment into current shell with: What use-case is this for? Note that "current shell" is reall

[PATCH] Support showenv output as shell code

2013-08-12 Thread Aaron Schrab
Add -s option to the shown-environment command which will alter the output format to Bourne shell commands, allowing import of the environment into current shell with: eval `tmux showenv -s` --- cmd-show-environment.c | 59 ++-- tmux.1