Public bug reported:

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

** Affects: zsh (Ubuntu)
     Importance: Undecided
         Status: New

-- 
hosts tab completion doesn't work for ssh-copy-id
https://bugs.launchpad.net/bugs/237304
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to