* no completion for zsh switches?
@ 2002-07-15 18:14 Roman Neuhauser
[not found] ` <kgo65zgn7ds.fsf@cyberbuzz.gatech.edu>
0 siblings, 1 reply; 2+ messages in thread
From: Roman Neuhauser @ 2002-07-15 18:14 UTC (permalink / raw)
To: zsh users
hi, i've just found that zsh doesn't complete it's own switches:
roman@freepuppy ~ 104:0 > zsh -^I -> nothing
roman@freepuppy ~ 104:0 > zsh --help -> lots of info
this is quite surprising given it otherwise completes even stuff i
wouldn't expect it to (i've grown a habit of hitting tab just about
everywhere :)
is this planned for 4.1.x or 4.0.5 perhaps? does anyone have a function
for this? i've tried to look around the web, but it's kinda hard to come
up with the right query: "zsh compinit" isn't all that specific :)
no a related note: i don't get completion for scp and ssh command lines.
i *think* it worked on one of my previous installs. do i smoke too much,
or is something screwed with this zsh?
it's 4.0.4 from the port (similar to srpm for the linuxers among you)
--
FreeBSD 4.6-STABLE
8:03PM up 2 days, 10:18, 5 users, load averages: 0.00, 0.00, 0.00
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: no completion for zsh switches?
[not found] ` <kgo65zgn7ds.fsf@cyberbuzz.gatech.edu>
@ 2002-07-15 19:10 ` Roman Neuhauser
0 siblings, 0 replies; 2+ messages in thread
From: Roman Neuhauser @ 2002-07-15 19:10 UTC (permalink / raw)
To: Jason Price; +Cc: zsh users
> To: Roman Neuhauser <neuhauser@bellavista.cz>
> Subject: Re: no completion for zsh switches?
> From: Jason Price <jprice@cyberbuzz.gatech.edu>
> Date: 15 Jul 2002 15:00:47 -0400
i think jason's meant to cc the list.
> I can't help you with the zsh completion, but ssh/scp complete out of
> the box, if you tell it where you can go. I have a file called
> .zsh-styles, that contains:
>
> zstyle '*:my-accounts' users-hosts jprice:horton.foobar.com jprice:oobleck.foobar.com jprice:zummers.foobar.com jprice:spazzim.foobar.com
so it's not out of the box, after all. :)
> and scp/ssh/rcp/rsh/etc work just fine.
>
> It works with entries in /etc/host with your username out of the box.
ah, this is the culprit.
> and the completion of -<whatever> works out of the box as well.
they do for ./configure options, makefile targets and whatnot, but
not for zsh(1) switches. or does it work for you?
> Maybe see what patches were added to zsh in the ports tree?
well, i don't see anything relevant in /usr/ports/shells/zsh, but
i'm also pretty sure this port revision is newer than the one i
installed from. so it *might* have changed. but i don't think that's
the case.
--
FreeBSD 4.6-STABLE
9:06PM up 2 days, 11:20, 4 users, load averages: 0.04, 0.03, 0.00
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-07-15 19:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-15 18:14 no completion for zsh switches? Roman Neuhauser
[not found] ` <kgo65zgn7ds.fsf@cyberbuzz.gatech.edu>
2002-07-15 19:10 ` Roman Neuhauser
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).