Complete the input if there is a single completion, otherwise complete the input with common prefix for all completions. ...