Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
justmytwospence opened this issue Aug 11, 2021 · 2 comments
Open

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

justmytwospence opened this issue Aug 11, 2021 · 2 comments

Comments

@justmytwospence
Copy link

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
Copy link

Sandsten commented Oct 4, 2021

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
Copy link

stuaxo commented Apr 22, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants