When processing a bookmark, one loop should be enough
Don't update weight if cd bookmark doesn't change directory or goes home
cdb: fix regex
Make cdc() safer
Optimize
Merge pull request #2 from kurkale6ka/optimize

Optimize