generate `ipython console` config file

when populating a profile
Merge pull request #6931 from minrk/console-config

generate `ipython console` config file