Settings.getInstance().setAliasEnabled(true);
Settings.getInstance().setAliasFile(new File("aesh_aliases.txt"));
//Settings.getInstance().setHistoryDisabled(true);
//Settings.getInstance().setHistoryPersistent(false);
List<TerminalCharacter> chars = new ArrayList<TerminalCharacter>();
chars.add(new TerminalCharacter('[', Color.DEFAULT_BG, Color.BLUE_TEXT));
chars.add(new TerminalCharacter('t', Color.DEFAULT_BG, Color.RED_TEXT,
CharacterType.ITALIC));
chars.add(new TerminalCharacter('e', Color.DEFAULT_BG, Color.RED_TEXT,
CharacterType.INVERT));
chars.add(new TerminalCharacter('s', Color.DEFAULT_BG, Color.RED_TEXT,
CharacterType.CROSSED_OUT));
chars.add(new TerminalCharacter('t', Color.DEFAULT_BG ,Color.RED_TEXT,
CharacterType.BOLD));
chars.add(new TerminalCharacter(']', Color.DEFAULT_BG, Color.BLUE_TEXT,
CharacterType.PLAIN));
chars.add(new TerminalCharacter('$', Color.DEFAULT_BG, Color.WHITE_TEXT,
CharacterType.UNDERLINE));
chars.add(new TerminalCharacter(' ', Color.DEFAULT_BG, Color.WHITE_TEXT));
final Prompt prompt = new Prompt(chars);
//String prompt = ANSI.redText()+"[test@foo]"+ANSI.reset()+"$ ";
//a simple interruptHook