I also do something similar but slightly different:
https://github.com/roobert/dotfiles/blob/master/.zsh/robs/fu...my method involves storing the bookmarks in a file but loading them into zshs directory hash. This means the directories are tab completable and if you have AUTO_CD set then you can change directory with simply: ~dir_name, otherwise: cd ~dir_name.