ShellUtils.registerCommandInvoker(ThreadCommandInvoker.FACTORY);
ShellUtils.registerCommandInvoker(ProcletCommandInvoker.FACTORY);
ShellUtils.registerCommandInterpreter(DefaultInterpreter.FACTORY);
ShellUtils.registerCommandInterpreter(RedirectingInterpreter.FACTORY);
AliasManager am = this.getAliasManager();
am.add("gc", "org.jnode.command.system.GcCommand");
am.add("cpuid", "org.jnode.command.system.CpuIDCommand");
am.add("set", "org.jnode.command.system.SetCommand");
am.add("dir", "org.jnode.test.shell.MyDirCommand");
am.add("duh", "org.jnode.test.shell.MyDuhCommand");
am.add("cat", "org.jnode.test.shell.MyCatCommand");
am.add("alias", "org.jnode.test.shell.MyAliasCommand");
aliasCompletions = new String[]{"alias ", "cat ", "cpuid ", "dir ", "duh ", "gc ", "set "};
SyntaxManager sm = this.getSyntaxManager();
sm.add(new SyntaxBundle("set",
new SequenceSyntax(new ArgumentSyntax("key"), new ArgumentSyntax("value"))));