
Dear Quentin,
In message 322e6866c43f4515240ddca9456ee390b6f334c7.1530257385.git-series.quentin.schulz@bootlin.com you wrote:
While the `env export` can take as parameters variables to be exported, `env import` does not have such a mechanism of variable selection.
Let's add the ability to add parameters at the end of the command for variables to be imported.
Thanks!
If a variable exists in the current env but not in the imported env, if this variable is passed as a parameter to env import, the variable will be unset.
I suggest that this isNOT the default behaviour. I think most peaople would expect that this command only adds/replaces environment settings, so omitting one value should not cause unexpected behaviour.
But I agree that such behaviour may also be conveniend - I suggest that we use an additional option ("-d" ?) to avtiavte it explicitly.
Thanks.
Best regards,
Wolfgang Denk