Package: zsh-common
Version: 5.9-8
I use zsh 5.9-8+b21 on Debian trixie. Typing in
sshfs user@server:/
or
sshfs user@server:/home/
and hitting <TAB> doesn't show me the list of remote directories. Instead, I 
see “Completing `remote directory', `host for user', `host', or `corrections'”
in the terminal. This is misleading, as the words `remote directory' are 
printed. So either `remote directory' should not be printed, or the list of 
remote directories under the provided prefix (in our examples, / or /home/) 
should be printed, and autocompletion should be performed when continuing 
typing.
In bash, on the contrary, autocompletion works in such cases.
Please add the functionality also to zsh, at least when the server is local 
(i.e., in 192.168.*.* ), and a passwordless login via ssh for user@server has 
already been set up. Under these two conditions, latency and security are less 
of an issue. The functionality doesn't need to be on by default, but it should 
be easy for the end user to turn it on. I don't have ~/.ssh/config, and my 
/usr/share/zsh/functions/Completion/Unix/ contains _ssh and _ssh_hosts but not 
_sshfs or _scp.

Reply via email to