diff options
Diffstat (limited to 'Completion/User/_ssh')
-rw-r--r-- | Completion/User/_ssh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/User/_ssh b/Completion/User/_ssh index 82f959b37..ddfe6de63 100644 --- a/Completion/User/_ssh +++ b/Completion/User/_ssh @@ -223,14 +223,14 @@ _ssh () { } _ssh_users () { - _combination my-accounts users-hosts users "$@" + _combination -s '[:@]' my-accounts users-hosts users "$@" } _ssh_hosts () { if [[ "$IPREFIX" == *@ ]]; then - _combination my-accounts users-hosts "users=${IPREFIX/@}" hosts "$@" + _combination -s '[:@]' my-accounts users-hosts "users=${IPREFIX/@}" hosts "$@" else - _combination my-accounts users-hosts \ + _combination -s '[:@]' my-accounts users-hosts \ ${opt_args[-l]:+"users=${opt_args[-l]:q}"} hosts "$@" fi } |