zsh-users
 help / color / mirror / code / Atom feed
* weird sshfs completion
@ 2009-03-19 19:47 Freak
  0 siblings, 0 replies; only message in thread
From: Freak @ 2009-03-19 19:47 UTC (permalink / raw)
  To: zsh-users

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>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-21 11:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-19 19:47 weird sshfs completion Freak

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).