Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
weird sshfs completion
- X-seq: zsh-users 13955
- From: Freak <freakguard@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: weird sshfs completion
- Date: Thu, 19 Mar 2009 20:47:36 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hello guys,
(please use CC as I'm not subscribed)
I'm having problems with my sshfs completion. Some Information:
zsh 4.3.9 (x86_64-unknown-linux-gnu)
Distribution: Archlinux
I'm using the config from http://www.jukie.net/~bart/conf/
With some modifications:
hosts=($((
( [ -r ~/.ssh/config ] && awk '/^host +[a-z]/ { print $2 }'
~/.ssh/config) ;\
) | sort -u))
zstyle ':completion:*' hosts $hosts
zstyle ':completion:*' host $hosts
users=(<someusers>)
zstyle ':completion:*' users $users
The problem:
sshfs <tab>
---- remote directory
<users>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author