agkozak/zsh-z

Directories with spaces don't get updated correctly

guillaumeboehm opened this issue · 6 comments

It seems that jumping into a directory containing spaces adds it to the database but doesn't update it if it is already in the database.

You're absolutely right. I'll fix this soon. Thanks!

@guillaumeboehm,

I just pushed a fix to the develop branch -- would you give that a pull and see if it works for you? Thanks.

This seems to be working just fine now. Actually I realized the match search was a problem too, adding the same fix on line 602 allows to jump to the directory correctly. Sorry I didn't feel like forking to add 3 characters...

Don't worry - I think there may be a few related problems that I'll want to fix - I'll be happy to make the changes.

But could you give me an example of the "match search" problem? If I type z foo\ bar, it does take me to ~/foo\ bar.

You're right... I'm testing it right now and can't reproduce it either... I don't even know what I was typing when I tested it. Never mind it lol.

All right! At long last, I’ve merged the fix to master. Thanks for pointing out the issue.