propagate automagic change to shell
Merge pull request #3117 from Carreau/fixautomagic

propagate automagic change to shell

this is a band-aid for 0.13 backport, but a real fix will deprecate one or the other locations where this flag is stored.