Added CommandShell prefix completion and ~ expansion