-
Notifications
You must be signed in to change notification settings - Fork 23
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
Error when using theme with antigen #15
Comments
The error looks like a recursion to me, and by looking at the code I think it might have something to do with ZLE setup, which atm has another issue.
Do they run the same zsh version? Which one?
Out of curiosity, did you try disabling all your bundles except for minimal? |
The machine with the issue is running 5.0.2 (installed from apt)
Yep - that's how I came to the conclusion that it was the theme causeing the errors to be thrown. |
The zsh version with which there is no error is |
I have fixed the mentioned issue. Can you please update minimal and reconfirm the bug you encountered? Thanks |
Trying to plug in using
ZSH: |
This is odd, by looking at the line I can't understand what kind of error it is. I'm also running the same version of zsh ( Also, is the error shown when minimal is the only thing sourced? (you can prevent sourcing of configuration files by executing |
Indeed running |
There are other files sourced as well, this flowchart explains it well. try take a look into those files and follow sourced files as well. |
I've cleared these config files:
In # Correctly display UTF-8 with combining characters.
if [ "$TERM_PROGRAM" = "Apple_Terminal" ]; then
setopt combiningchars
fi In # system-wide environment settings for zsh(1)
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
fi Still no luck, but I've figured out that |
I've come up with a kind of a solution by adding |
@trofimovilya can you check if there is a solution while using antigen? I'm getting the same error you menitoned. I'm trying to avoid cloning the repo and sourcing it manually (by using antigen's built in functionality instead) Thanks! |
I don't know if I have the same issue but I have something like this: Problem descriptionPrompt plugin works with some errors when with Reproduction stepsI've got it down to minimal config able to reproduce this source <(antibody init)
antibody bundle subnixr/minimal
antibody bundle jeffreytse/zsh-vi-mode Just open a shell with this config and call any command (like
|
Thanks for reporting the issue. It's been a long time since I last used antigen or any other zsh plugin manager, I'm out of the loop. I need you to try these:
I have the feeling it has something to do with #12 (comment) and probably antigen/antibody is doing something behind the curtains. I should check both codebases, but I'm a bit short on time |
@subnixr I've reproduced this error only when sourcing both plugins. Just antibody with minimal works fine |
Hey there,
The error I get when using this theme with antigen is the following:
local:1: maximum nested function level reached
This happens 6-7 times after every command I execute, before I'm presented with the prompt line again.
My OS is Ubuntu 14.04 - I can post any more information as necessary, I'm just unsure how to debug the issue. This issue is not present when running on another Ubuntu-based install (Elementary OS Loki)
PS, I've confirmed that it is actually the theme that is causing the issue; commenting it out (and using robbyrussell, for example) makes zsh run just fine.
The text was updated successfully, but these errors were encountered: