It uses ~/.ipython if that already exists, to support users upgrading from older versions. But if you haven't used older versions, it uses the XDG config folder.
It uses ~/.ipython if that already exists, to support users upgrading from older versions. But if you haven't used older versions, it uses the XDG config folder.