diff --git a/bash_completion b/bash_completion index 0b402477..d5ddf5cb 100644 --- a/bash_completion +++ b/bash_completion @@ -1085,7 +1085,7 @@ _known_hosts_real() esac done [ $# -ge $OPTIND ] && echo "error: $FUNCNAME("$@"): unprocessed arguments:"\ - $(while [ $# -gt 0 ]; do echo ${!OPTIND}; shift; done) + $(while [ $# -ge $OPTIND ]; do echo ${!OPTIND}; shift; done) [[ $cur == *@* ]] && user=${cur%@*}@ && cur=${cur#*@} kh=()