zsh-users
 help / color / mirror / code / Atom feed
* Completion strangeness
@ 2005-05-17 20:53 Kyle Rose
  2005-05-18  2:13 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Kyle Rose @ 2005-05-17 20:53 UTC (permalink / raw)
  To: zsh-users

This relates to zsh 4.2.5's ssh command line completion.  I don't know
if this problem exists in earlier versions.

Here's the problem I'm seeing:

  krose@jihl ~% ssh krose@y<TAB>

results in

  krose@jihl ~% ssh krose@yupa..org

with the cursor over the second ".".  Then, if I hit <TAB> again, I get

  krose@jihl ~% ssh krose@yupa.krose.org

with the completion "done" (i.e., the cursor a space after "org").
Problem is, when I do

  krose@jihl ~% ssh krose@y^Xn

I get

  yupa-dmz.valley-of-wind.krose.org  yupa.krose.org
  yupa.valley-of-wind.krose.org

Clearly, any of them match the original attempt to complete.  This works
just fine with hosts only:

  krose@jihl ~% ssh y<TAB>

  krose@jihl ~% ssh yupa<TAB>

  krose@jihl ~% ssh yupa<TAB>
  yupa-dmz.valley-of-wind.krose.org  yupa.krose.org
  yupa.valley-of-wind.krose.org

  krose@jihl ~% ssh yupa-dmz.valley-of-wind.krose.org
  yupa-dmz.valley-of-wind.krose.org  yupa.krose.org
  yupa.valley-of-wind.krose.org

and so on, cycling through the three potential completions.

Any clues?

BTW, I've now been using zsh as my exclusive interactive shell for
almost exactly 10 years.  Sweet. :)

Cheers,
Kyle


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-05-18 14:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-17 20:53 Completion strangeness Kyle Rose
2005-05-18  2:13 ` Bart Schaefer
2005-05-18  4:18   ` Kyle Rose
2005-05-18 14:49   ` Kyle Rose

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).