Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Don't understand compadd -p (or -P) any more
- X-seq: zsh-workers 5589
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Don't understand compadd -p (or -P) any more
- Date: Mon, 01 Mar 1999 17:13:23 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author