[Finsh] fix the shell prompt issue.