[Bug 237304] Re: Missing completion for ssh-copy-id

Simon Olofsson simon at olofsson.de
Mon Nov 26 11:51:39 UTC 2012


This works in Quantal with zsh 5.0.
See https://github.com/zsh-users/zsh/commit/50a3065dc2e06f12c5815e123a3c509c06218eb2#Completion/Unix/Command/_ssh

** Changed in: zsh (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to zsh in Ubuntu.
https://bugs.launchpad.net/bugs/237304

Title:
  Missing completion for ssh-copy-id

Status in “zsh” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: zsh

  If I've setup my hosts entry in ~/.zshrc I can use tab completion on
  host names. However, host tab completion doesn't work for ssh-copy-id.

  For example:

  (~/.zshrc)
  zstyle '*' hosts foo.bar.net bar.qux.net

  Allows me to type in
  ssh TAB TAB
  and foo.bar.net bar.qux.net will appear as possible completion items.

  However this fails for ssh-copy-id TAB TAB

  The file to modify is probably
  /usr/share/zsh/4.3.4/functions/Completion/Unix/_ssh - add an extra
  stanza under the case statement for ssh-copy-id) that is based on ssh)

  ---------------------------------------------------------------------------------------------------------------------

  % apt-cache policy zsh
  zsh:
    Installed: 4.3.4-14ubuntu2
    Candidate: 4.3.4-14ubuntu2
    Version table:
   *** 4.3.4-14ubuntu2 0
          500 http://mirror.aarnet.edu.au gutsy/main Packages
          100 /var/lib/dpkg/status

  % lsb_release -rd
  Description:    Ubuntu 7.10
  Release:        7.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/237304/+subscriptions




More information about the foundations-bugs mailing list