This allows nushell users to define shell aliases that are inserted into nushell's `config.nu`.
Recent versions of nushell uses a different configuration setup. This commit adjusts the module to match. Fixes #2952 Fixes #2837