View | Details | Raw Unified | Return to bug 5429
Collapse All | Expand All

(-)_ssh~ (-2 / +2 lines)
Lines 312-321 Link Here
312
312
313
_ssh_hosts () {
313
_ssh_hosts () {
314
  if [[ "$IPREFIX" == *@ ]]; then
314
  if [[ "$IPREFIX" == *@ ]]; then
315
    _combination -s '[:@]' my-accounts users-hosts "users=${IPREFIX/@}" hosts "$@"
315
    _combination -s '[:@]' my-accounts users-hosts "users=${IPREFIX/@}" known_hosts "$@"
316
  else
316
  else
317
    _combination -s '[:@]' my-accounts users-hosts \
317
    _combination -s '[:@]' my-accounts users-hosts \
318
      ${opt_args[-l]:+"users=${opt_args[-l]:q}"} hosts "$@"
318
      ${opt_args[-l]:+"users=${opt_args[-l]:q}"} known_hosts "$@"
319
  fi
319
  fi
320
}
320
}
321
321

Return to bug 5429