From c0caef561323b91ea0c4aa101b564f92ab51b68d Mon Sep 17 00:00:00 2001 From: Jun-ichi Takimoto Date: Mon, 4 Sep 2023 15:07:52 +0900 Subject: 52112: use '_normal -p subcmd' to complete only external command --- Completion/Unix/Command/_ssh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/Unix/Command/_ssh') diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh index fd2a90b59..0ba1f3775 100644 --- a/Completion/Unix/Command/_ssh +++ b/Completion/Unix/Command/_ssh @@ -136,7 +136,7 @@ _ssh () { '(-k -c)-s[force sh-style shell]' \ '-t+[set default maximum lifetime for identities]: :_numbers -u seconds "maximum lifetime" \:s\:seconds m\:minutes h\:hours d\:days w\:weeks' \ '-v[verbose mode]' \ - '*::command: _normal' + '*::command: _normal -p $service' return ;; ssh-keygen) @@ -738,7 +738,7 @@ _ssh () { local -a _comp_priv_prefix shift 1 words (( CURRENT-- )) - _normal + _normal -p $service return ;; destinations) -- cgit 1.4.1