* Don't understand compadd -p (or -P) any more
@ 1999-03-01 16:13 Peter Stephenson
0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 1999-03-01 16:13 UTC (permalink / raw)
To: Zsh hackers list
I thought I'd got this worked out, so maybe it's a bug.
% _foo() { compadd -p pref/ bar rod; }
% compdef _foo foo
% foo pref/<TAB> # nothing
% foo <TAB>
bar rod
and the choices on the line do have the correct prefix. In other words, if
there's a pre-existing prefix there, it doesn't recognise it. Now it seems
-P is doing the same thing. Has the behaviour changed in some way I don't
understand?
--
Peter Stephenson <pws@ibmth.df.unipi.it> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-03-01 16:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-01 16:13 Don't understand compadd -p (or -P) any more Peter Stephenson
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).