-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Getting Error :init: Expected printf output from shell #43
Comments
Yeah, your shell is clearly printing stuff out when it runs commands. It looks like a prompt, so that's a bit strange to me, because shells don't normally print out prompts when invoked with You have a couple of options: either fix the spurious prompt printing (and as a shortcut for that, you can try skipping some config if I also use |
I figured out this is caused by exporting a custom PROMPT in my zshrc file, like this:
But if I run |
@didibus try setting |
I get:
And:
I can't seem to find what in my zshrc changes the prompt to return this. Setting the prompt explicitly at the end to "" still doesn't work, I get:
instead. Removing the -i flag works. Also it looks like INSIDE_EMACS is not set, since I tried putting |
Based on the above, I suspect there's a mistake in one of your shell start-up files, or you're misunderstanding which of those files are evaluated by ( |
When launching spacemacs which uses exec-path-from-shell I get the following error from it:
I'm sure it's due to some of the things I do or source from my .zshrc, but I'm not sure what, and I'd rather exec-path-from-shell could handle the customization of my zsh, then me having to get rid of it.
Anyone got this problem before?
P.S.: Same thing happens if I manually run (exec-path-from-shell-initialize) or (exec-path-from-shell-copy-env) for any variable.
The text was updated successfully, but these errors were encountered: