zsh-workers
 help / color / mirror / code / Atom feed
* history completion oddity
@ 2000-06-20 16:31 Peter Stephenson
  2000-06-21  0:52 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Stephenson @ 2000-06-20 16:31 UTC (permalink / raw)
  To: Zsh hackers list

I expect Sven will tell me this is the way it should work (or has to work),
but it's worth a try...

history completion (ESC-/) on
  % echo ${PWD
does nothing.  On
  % echo ${PWD/
it gives me what I expect (don't ask):
  % echo ${PWD/bc01/bc01/test}/$f

I would guess that something visceral is grabbing potential parameter
completions before the history code can do anything --- given the second
result, the list of history words is OK, and also, more subtly, it's not
falling over on the incompletely parsed parameter.  I didn't get very far
looking at the trace output, a large chunk of which (in my case) seems to
be testing for colouring strings.

-- 
Peter Stephenson <pws@cambridgesiliconradio.com>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070


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

end of thread, other threads:[~2000-06-21  0:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-20 16:31 history completion oddity Peter Stephenson
2000-06-21  0:52 ` Bart Schaefer

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