BTS

Message5192

Author mika
Recipients ft, mika
Date 2015-07-16.21:24:07
Content
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 :)
History
Date User Action Args
2015-07-16 21:24:08mikasetrecipients: + mika, ft
2015-07-16 21:24:07mikasetmessageid: <1437081848.0.0.0366937237854.issue1567@bts.grml.org>
2015-07-16 21:24:07mikalinkissue1567 messages
2015-07-16 21:24:07mikacreate