mattmc3 / antidote

https://getantidote.github.io - the cure to slow zsh plugin management
MIT License
916 stars 22 forks source link

Aliases not working #197

Closed CHE1RON closed 2 months ago

CHE1RON commented 2 months ago

Hey there!

First of all, I really liked this as a starting point for antidote configuration. However, I stumbled over the .aliases file being referenced in .zsh_plugins.txt giving me function definition file not found, and thus being unable to use the project 🤔

Any ideas on this are much appreciated! 🙏

mattmc3 commented 2 months ago

It sounds like you want to include local files / folders as plugins rather than git repos. No problem! That's supported in antidote, but in order to do that you need to put the full path in your .zsh_plugins.txt, or use a variable like so:

# ~/.zsh_plugins.txt

# This will fail because antidote doesn't know what to do with this:
.aliases

# This will succeed because you were explicit with a path:
~/.aliases

# This will also succeed because you used a variable:
$ZDOTDIR/.aliases
CHE1RON commented 2 months ago

Alright, thanks so much!