}
private InteractiveShell createInteractiveShell(ShellContext ctx) throws InitializationException {
CommandExecutor executor = createCommandExecutor(ctx);
ctx.setCommandExecutor(executor);
ShellInfo shellInfo = createShellInfo(ctx.getBranding());
ctx.setShellInfo(shellInfo);
return new DefaultShell(ctx.getShellInfo(), ctx.getBranding(), ctx.getCommandExecutor(), terminal, ctx.getEnvironment(), ctx.getIo());
}