Closed brandoncordell closed 1 year ago
Interesting. I suspect that this is because you have specified an extensionless file (~/.zsh_plugins
) as the plugin file, but then did not specify the cache file you wanted (~/.zsh_plugins.zsh
). antidote load
is just stripping the extension from .zsh_plugins and then making a .zsh
file. This is a bug and I'll publish a fix when I am able. In the mean time, the simple workaround is to either:
1.) Rename .zsh_plugins
to .zsh_plugins.txt
, which lets you call antidote load
without any arguments because you now are using the default files names.
or
2.) Call antidote load
with the second parameter, which is the cache file you want to create like so:
# .zshrc
source $HOME/.antidote/antidote.zsh
antidote load ${ZDOTDIR:-$HOME}/.zsh_plugins ${ZDOTDIR:-$HOME}/.zsh_plugins.zsh
I've been using thoughtbot/dotfiles for the longest time to manage dotfiles but I've recently wanted to start over from scratch. I still want to use thoughtbot/rcm for the actual dotfile management. I was using zplug but want to upgrade to antidote. Using the following config I get
antidote-load:48: is a directory: /Users/Bcordell/.zsh
when zsh is loaded. Any ideas?