Our recent changes to dirstack handling in grml-zshrc have broken the ~/.zdirs
handling. The DIRSTACKFILE is always overwritten every time you open a new zsh
session, so the directory history is always(?) lost.
Starting three shell sessions one after the other:
mika@heart ~ % cat ~/.zdirs
/home/mika
/home/grml/git-grml/grml-etc-core
mika@heart ~ % cd -
completing directory stack
0 -- /grml/git-grml/grml-etc-core
1 -- /home/grml/git-grml/grml-etc-core
mika@heart ~ % cd /grml/git-grml/grml2usb
chpwd(): Switching to profile: grml
mika@heart ~ggit/grml2usb (git)-[master] % cat ~/.zdirs
/grml/git-grml/grml2usb
/home/mika
/home/grml/git-grml/grml-etc-core
mika@heart ~ggit/grml2usb (git)-[master] %
mika@heart /home/grml/git-grml/grml2usb (git)-[master] % cd /tmp
mika@heart /tmp %
mika@heart /tmp % cat ~/.zdirs
/home/grml/git-grml/grml2usb
/grml/git-grml/grml2usb
Something is wrong, I can't spot the source of the bug yet though, reporting as
suggested by Frank, thx :) |