Currently when tab completing command names or filenames, all the candidates are displayed. This should be changed such that if there are too many to display sensibly (how this is determined is TBD) a yes/no prompt is displayed to the user for confirmation.