-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Automatic install makes zsh to hang forever #25
Comments
Not sure. Can you please share what Omelette put into your zshrc file?
… |
Of course 🙂 I use
The
|
And what `app --completion` generates when you run?
|
It generates the following — the
|
Working fine to me, can you please remove all the snippets generated by
Omelette and source the zshrc again to understand if really it's Omelette's
fault?
|
Hi @f @oncletom I'm using omelette in a CLI I'm making and have just experienced the same issue during testing. I managed to track down the exact problem and thought it may be useful for you to know. It turns out that The fix for the issue in node 12.7.0 can be found at nodejs/node#28535. It would be nice for omelette to either detect those versions when installing and abort, or ideally to figure out a workaround piece of code to inject into the shell config file that works for all versions of node. |
Nice finding @kangweichan! |
Hello,
Great tool! I have had a great pleasure to use it to create my own autocomplete stuff :-)
I have used the
.setupShellInitFile()
function to automatically setup the shell autocompletion. However when I do so and runsource ~/.zshrc
, it hangs forever. I have tokill -9
the hanging process.The added line in the
.zshrc
files is the following:When I turn it into the following one, it does not hang and autocompletion works:
I am unsure about this issue.
Do you have an idea?
The text was updated successfully, but these errors were encountered: