diff options
| author | Clint Adams <clint@users.sourceforge.net> | 2012-03-05 16:03:11 +0000 |
|---|---|---|
| committer | Clint Adams <clint@users.sourceforge.net> | 2012-03-05 16:03:11 +0000 |
| commit | 50a3065dc2e06f12c5815e123a3c509c06218eb2 (patch) | |
| tree | 0bd2a1061a38f04a9f385d336ea9b0120d674c47 /Completion/Unix/Command/_ssh | |
| parent | 30307 plus tweak suggsted by Wayne: use %lld for zlong when long long (diff) | |
| download | zsh-50a3065dc2e06f12c5815e123a3c509c06218eb2.tar zsh-50a3065dc2e06f12c5815e123a3c509c06218eb2.tar.gz zsh-50a3065dc2e06f12c5815e123a3c509c06218eb2.tar.bz2 zsh-50a3065dc2e06f12c5815e123a3c509c06218eb2.tar.lz zsh-50a3065dc2e06f12c5815e123a3c509c06218eb2.tar.xz zsh-50a3065dc2e06f12c5815e123a3c509c06218eb2.tar.zst zsh-50a3065dc2e06f12c5815e123a3c509c06218eb2.zip | |
30314: add completion for ssh-copy-id.
Diffstat (limited to 'Completion/Unix/Command/_ssh')
| -rw-r--r-- | Completion/Unix/Command/_ssh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh index 8f1fb74aa..023232189 100644 --- a/Completion/Unix/Command/_ssh +++ b/Completion/Unix/Command/_ssh @@ -1,4 +1,4 @@ -#compdef ssh slogin=ssh scp ssh-add ssh-agent ssh-keygen sftp +#compdef ssh slogin=ssh scp ssh-add ssh-agent ssh-keygen sftp ssh-copy-id # Completions currently based on OpenSSH 5.9 (released on 2011-09-06). # @@ -133,6 +133,11 @@ _ssh () { '-s[SSH2 subsystem or path to sftp server on the remote host]' \ '1:file:->rfile' '*:file:->file' "$common[@]" "$common_transfer[@]" && ret=0 ;; + (ssh-copy-id) + _arguments \ + '-i:SSH identity file:_files' \ + ':remote host name:->userhost' \ + ;; esac while [[ -n "$state" ]]; do |
