Getting a No such shell function `zle-line-init' in Terminal #3462
-
|
Hi there, I'm getting a I'm using the theme I'm getting this each time I press the enter key. I noticed that I don't have this error when I just use the default theme - see screenshot below: But, when I press enter key or any command, I get this: I believe this is the Transient Prompt? I have seen the how to disable Transient prompt and I don't have the Inside my How can I stop the Any help appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 19 replies
-
|
@ch-lee That said, your zsh is either outdated OR something is hijacking/removing those native zsh functions (see ohmyzsh or similar). |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the quick reply. Sorry, I was commenting out I thought my zsh was out of date as well and did a Current version installed now is: It's very strange. I don't have ohmyzsh installed either. |
Beta Was this translation helpful? Give feedback.
-
|
Hello, I'm having the same issue with both zsh and oy-my-posh updated to the latest version. |
Beta Was this translation helpful? Give feedback.
-
|
@Tuttu is your zsh version up-to-date? |
Beta Was this translation helpful? Give feedback.
-
|
I just had this error, |
Beta Was this translation helpful? Give feedback.
-
|
I see the following error each time I open my terminal or bash: after adding to my |
Beta Was this translation helpful? Give feedback.



I just had this error,
No such shell function 'zle-line-init'and found that it was because I was callingeval "$(oh-my-posh init ..."twice in.zshrc, once to load Oh My Posh, then another to load the theme. Using just one worked: