[Pkg-zsh-devel] Bug#725294: zsh: sshfs completion gives error when attempting to complete host after using -o option

David Banks amoebae at gmail.com
Thu Oct 3 18:15:54 UTC 2013


Package: zsh
Version: 5.0.2-5
Severity: normal

The completion available for sshfs doesn't handle user/host completion after
providing options to sshfs using -o.  To reproduce this, try the following
(press TAB where indicated):

  amoe at vuurvlieg $ sshfs -o reconnect xyzzy<TAB>
  (eval):1: unknown file attribute
  _arguments:450: command not found: (

This makes it impossible to complete users/hosts after using any options with -o.  
The completion configuration I am using is the following:

  autoload -Uz compinit
  compinit

Cheers,
Dave

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zsh depends on:
ii  libc6       2.17-92
ii  libcap2     1:2.22-1.2
ii  libtinfo5   5.9+20130608-1
ii  zsh-common  5.0.2-5

Versions of packages zsh recommends:
ii  libncursesw5  5.9+20130608-1
ii  libpcre3      1:8.31-2

Versions of packages zsh suggests:
pn  zsh-doc  <none>

-- no debconf information



More information about the Pkg-zsh-devel mailing list