BTS

Message1936

Author ft
Recipients mika
Date 2009-02-21.12:34:29
Content
Michael Prokop <bts@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
History
Date User Action Args
2009-02-21 12:34:29ftlinkissue630 messages
2009-02-21 12:34:29ftcreate