[issue630] strange behaviour of zdirs - lots of duplicates

Frank Terbeck bts at bts.grml.org
Sat Feb 21 13:34:29 CET 2009


Frank Terbeck <ft at grml.org> added the comment:

Michael Prokop <bts at bts.grml.org>:
> % cat .zdirs
> /mnt/BACKUP/tmp
> /mnt/BACKUP
> /home/mika
> /home/mika
> /tmp
> /home/mika
> /grml/git/grml-etc-core
> /home/mika
> /grml/git/grml-live
> /home/mika
> /grml/git/grml2hd
> /home/mika
> /grml/git/grml-scripts
> /home/mika
> /home/mika
> /grml/git/grml-autoconfig
> /home/mika
> /home/mika
> /home/mika
> /grml/git/live-initramfs-grml
> /grml/git/live-initramfs-grml/debian/patches
> 
> 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.

Regards, Frank

----------
assignedto: ft
messages: 1934, 1936
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