[issue630] strange behaviour of zdirs - lots of duplicates

Michael Prokop bts at bts.grml.org
Sat Feb 21 13:53:24 CET 2009


Michael Prokop <mika at grml.org> added the comment:

* Frank Terbeck 20090221 13:34]:
> Michael Prokop:

> > Frank, do you have any ideas why I've such a lot of duplicates inside ~/.zdirs?
> > Makes the 'd' function of our zshrc quite hard to use for me. :)

> Hmpf, crap. :-/

> Can you add this line on top of your chpwd() function?

>     setopt localoptions xtrace

> And tell me what that spits out?
> ...I'd expect ${(u)foo} to take care of dupes. No idea what's going on
> without more information.

Gnaaa, my fault. :-/ I've had an older version of chpwd() in my
~/.zshrc.local - damned local testing. ;( Sorry for wasting your
time and thanks for the pointer to chpwd().

regards,
-mika-

----------
assignedto: ft
messages: 1934, 1936, 1937
nosy: ft, mika
priority: bug
status: chatting
title: strange behaviour of zdirs - lots of duplicates
topic: grml-etc-core, zsh

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue630>
_____________________________________


More information about the Bugs-changes mailing list