Fasd as oh-my-zsh plugin

I wanted to try fasd, so I installed it from Arch Linux official packages and enabled it as oh-my-zsh plugin. In Arch Linux, you can install oh-my-zsh from AUR.

It is great, but there was an issue with the cache file, which was stored in /usr/share/oh-my-zsh which is not writable, so the initialization was failing. I have already opened a pull request for that.

In the meantime, if you have the same problem, you can edit the /usr/share/oh-my-zsh/plugins/fasd/fasd.plugin.zsh file changing this line fasd_cache="${ZSH_CACHE_DIR}/fasd-init-cache" into fasd_cache="${HOME}/.fasd-init-cache".

Leave a Reply

Your email address will not be published. Required fields are marked *