Linux Desktop-01 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
## Configuration
- gist of `.antigenrc` N\A
- gist of `.zshrc` N\A
## More information
The bug seems to be here https://github.com/zsh-users/antigen/blob/develop/bin/antigen.zsh#L1833 as the location of the `antigen-zsh` script is hard-coded there during cache generation. I think it was only tested against a git-clone installation.
2 years later, any updates? I'm unable to use the antigen command without changing my install location. I don't want antigen cluttering my home directory.
Description
Antigen ignores real script location when generating cache.
Steps to reproduce
% zsh # Open a new interactive shell to invoke ~/.zshrc % antigen version antigen:source:2: no such file or directory: /home/tim/antigen.zsh % grep -C2 "/home/tim/antigen.zsh" /home/tim/.antigen/init.zsh antigen () { local MATCH MBEGIN MEND [[ "$ZSH_EVAL_CONTEXT" =~ "toplevel:" || "$ZSH_EVAL_CONTEXT" =~ "cmdarg:" ]] && source "/home/tim/antigen.zsh" && eval antigen $@; return 0; }
Antigen v2.2.3 (ff391b5) Revision date: 2018-01-02 13:19:57 +0100
zsh 5.1.1 (x86_64-ubuntu-linux-gnu)
Linux Desktop-01 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux