On Mon, Nov 3, 2014 at 10:30 PM, Brandon Mulcahy <bran...@jangler.info> wrote: > choice (besides doing something like `export option=a; command; export > option=b`). I do wish the concept of aliasing were a bit more general.
Did you hear of the shell feature where you could immediately pass environment variables by prepending them to your command? Like so: export option=b; option=a command; echo $option # shows b cheers! mar77i