.setExportUsesSystemEnvironment(true)
.interruptHook(new ForgeInterruptHook(registry));
// If system property is set, force POSIXTerminal
if (Boolean.getBoolean("org.jboss.forge.addon.shell.forcePOSIXTerminal"))
{
newSettings.terminal(new POSIXTerminal());
}
this.console = new AeshConsoleBuilder()
.prompt(createPrompt(initialResource))
.settings(newSettings.create())
.commandRegistry(registry)