Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#514152: zsh: completion no longer works for ..



On Wed, 4 Feb 2009 23:42:44 +0100
Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx> wrote:
> Clint Adams <schizo@xxxxxxxxxx>:
> > On Wed, Feb 04, 2009 at 03:55:09PM -0300, Felipe Sateler wrote:
> > > Completion no longer adds a / when I type ..<TAB>
> > 
> > In which context?
> 
> I bet, this is about this:
>     http://www.zsh.org/mla/workers//2008/msg01732.html
> 
> Quite a few people asked about it on irc, too.

It's probably worth noting in the next release that the temporary behaviour
was a bug.

Index: README
===================================================================
RCS file: /cvsroot/zsh/zsh/README,v
retrieving revision 1.61
diff -u -r1.61 README
--- README	17 Nov 2008 16:11:29 -0000	1.61
+++ README	5 Feb 2009 09:44:41 -0000
@@ -33,8 +33,16 @@
 Possible incompatibilities
 ---------------------------
 
-This section documents incompatibilities in the shell since the 4.2
-series of releases.
+In some 4.2.X releases of zsh, the completion system added a ".."  as a
+trial completion whenever completing directories.  This was a bug: as
+documented in the zshcompsys manual, this feature needs to be turned on by
+a style:
+
+  zstyle ':completion:*' special-dirs true
+
+
+The rest of this section documents incompatibilities in the shell since the
+4.2 series of releases.
 
 In previous releases of the shell, builtin commands and precommand
 modifiers that did not accept options also did not recognize the

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



Messages sorted by: Reverse Date, Date, Thread, Author