Completion for select command.