Allow tab-completion only at the end of line