zsh-users / antigen

The plugin manager for zsh.
http://antigen.sharats.me
MIT License
8.01k stars 279 forks source link

Where does the Debian package put antigen.zsh? #729

Open justmytwospence opened 3 years ago

justmytwospence commented 3 years ago

Description

The documentation doesn't mention where the various packages install antigen.zsh to, which is crucial information considering it needs to be sourced explicitly. Specifically I cannot find the install location in the Debian package. Can this be added to the wiki?

Sandsten commented 3 years ago

The file is located here usr/share/zsh-antigen/antigen.zsh

To get the files which have been added by any Debian package.

dpkg --listfiles <package name>

So for zsh-antigen you can run

dpkg --listfiles zsh-antigen

But when I source the file from zsh-antigen I get the following error /usr/share/zsh-antigen/antigen.zsh:748: command not found: -antigen-env-setup and I cant use any of its commands.

Hovever it works fine if I use the "quick and easy way" with curl -L git.io/antigen > antigen.zsh and source that file instead

stuaxo commented 2 years ago

It would be good to include common locations like /usr/share/zsh-antigen/antigen.zsh in the README