-
Notifications
You must be signed in to change notification settings - Fork 279
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
Antigen is trying to find .zshrc in home folder after moving It to new directory #722
Comments
UpdateAdded the line: Now the behavior is the same, but I no longer see this message: 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
:.zshrc
:More information
antigen reset
, I'm able to work without issues until the next time I boot, even when opening multiple shells.The text was updated successfully, but these errors were encountered: