Open zhexuany opened 6 years ago
same problem
Same problem on Antigen v2.2.3 and zsh 5.5.1.
Very unfamiliar with antigen internals, but maybe this is a clue:
$ echo $ANTIGEN_CHECK_FILES
/Users/yannvanhalewyn/.zshrc -zsh
$ zcompile -zsh
zcompile: bad option: -s
good find @yannvanhalewyn
I just added if [[ $rsrc == "-zsh" ]]; then continue fi
to skip -zsh
here https://github.com/zsh-users/antigen/blob/develop/bin/antigen.zsh#L1867
🤷♂
Hi, what exactly are you trying to archive ?
I could help. I use antigen on my ubuntu machine
Also observed on zsh 5.8 and antigen 2.2.3-2 (on debian).
@urjitbhatia @zhexuany Seems like something is wrongly adding "-zsh" line to $ANTIGEN_RSRC
file. Hence one can remove "-zsh" line from $ANTIGEN_RSRC
(which is pointing to $HOME/.antigen/.resources
on my machine) rather than directly messing with the source-code / require root permissions for modifying /usr/share/zsh-antigen/antigen.zsh
, at least as a temporary fix until someone figures out what and why that line is added.
Description
Small paragraph to describe the issue/bug. I am not sure why this happens. I googled and nothing useful found.
Steps to reproduce
remove init.zsh* from antigen home directory.
Minimal steps to reproduce this behavior. Example:
Expected behavior: nothing displayed in terminal.
Software version
antigen version
Antigen v2.2.2zsh --version
zsh 5.4.2 (x86_64-apple-darwin17.3.0)uname -a
Darwin Zhexuans-MacBook-Pro.local 17.4.0 Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64Configuration
gist of
.antigenrc
gist of
.zshrc
More information
Screenshot or any other information you may find relevant to troubleshoot the issue.