🕰️ logged on 2024.01.24
🔖 tagged: shell, unix, zsh, plugins, antigen
Sometimes a shell plugin has instructions on how to install itself with antigen. For example popstas/zsh-command-time has the following instructions in their README:
# Install with antigen `antigen bundle popstas/zsh-command-time`
The above is a fairly common way of adding a plugin to your shell. But what do you do when you stumble upon a repository of a plugin that does not have this? Like the tom-auger/cmdtime repository. When you try: antigen bundle tom-auger/cmdtime
you'll see the following error Installing tom-auger/cmdtime... Error! Activate logging and try again.
staring right at you!
What then is the solution? A quite straightforward actually:
- Locate the antigen plugin directory on your harddrive
- Clone the repository directly in that directory
- Reload your shell and voila! Now you can use the plugin
Figured this one out myself 🥳