Open thales-maciel opened 3 years ago
Added the line: typeset -a ANTIGEN_CHECK_FILES=(${ZDOTDIR:-~}/.zshrc ${ZDOTDIR:-~}/antigen.zsh)
before sourcing antigen.zsh in my .zshrc.
Now the behavior is the same, but I no longer see this message: -antigen-cache-generate:zcompile:65: can't open file: /home/<my-username>/.zshrc
, so that's a start...
I can reproduce this very easily now, I just have to open a terminal inside pycharm and then open another one in my terminal.
Every time I open a new terminal inside pycharm, I see all the installing messages, I tested in vscode and It doesn't happens there.
Description
Antigen is trying to find .zshrc in home folder after moving It to new directory and declaring new ZDOTDIR in .zshenv (located in home).
From time to time (usually when I open my second shell after logging in), I lose my prompt and all my plugins, but everything else located in my .zshrc still works (sourcing aliases, scripts, LS_COLORS and so on).
When trying to source my .zshrc manually in this terminal I got the default antigen messages saying that my plugins are installed, but I'm still not able to use them untill I do
antigen reset
and open a new shell.This new shell now says:
-antigen-cache-generate:zcompile:65: can't open file: /home/<my-username>/.zshrc
, but this time all my plugins are correctly sourced and ready to use.This behavior is still happening after complete re-install and deleting the .zwc and .zcompdump files.
Steps to reproduce
Expected behavior:
Software version
antigen version
v2.2.2
zsh --version
zsh 5.8
uname -a
Linux pop-os 5.8.0-7625-generic #26~1603389471~20.04~f6b125f-Ubuntu SMP Thu Oct 22 20:35:49 UTC x86_64 x86_64 x86_64 GNU/Linux
Configuration
.antigenrc
:Default repo (oh-my-zsh).
antigen bundle git antigen bundle lein antigen bundle extract antigen bundle command-not-found antigen bundle zsh-interactive-cd
External repos.
antigen bundle zsh-users/zsh-completions antigen bundle zsh-users/zsh-autosuggestions antigen bundle zsh-users/zsh-syntax-highlighting antigen bundle wfxr/forgit
Prompt theme.
antigen bundle denysdovhan/spaceship-prompt
Apply
antigen apply
More information
antigen reset
, I'm able to work without issues until the next time I boot, even when opening multiple shells.