Xonsh Configuration Utility (xonsh.xonfig)

The xonsh configuration (xonfig) utility.

xonsh.xonfig.make_env_wiz()[source]

Makes an environment variable wizard.

xonsh.xonfig.make_envvar(name)[source]

Makes a StoreNonEmpty node for an environment variable.

xonsh.xonfig.make_exit_message()[source]

Creates a message for how to exit the wizard.

xonsh.xonfig.make_fs_wiz()[source]

Makes the foreign shell part of the wizard.

xonsh.xonfig.make_xonfig_wizard(default_file=None, confirm=False)[source]

Makes a configuration wizard for xonsh config file.

Parameters:

default_file : str, optional

Default filename to save and load to. User will still be prompted.

confirm : bool, optional

Confirm that the main part of the wizard should be run.

xonsh.xonfig.make_xontrib(xontrib, package)[source]

Makes a message and StoreNonEmpty node for a xontrib.

xonsh.xonfig.make_xontribs_wiz()[source]

Makes a xontrib wizard.

xonsh.xonfig.print_welcome_screen()[source]
xonsh.xonfig.xonfig_main(args=None)[source]

Main xonfig entry point.