Bash-like tab completion