-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Helix crashes when launched from zk
application
#2111
Comments
@adrianmroz-allegro I'm having this exact same problem and decided to investigate. The relevant bit of the error message when running However, as you point out, To confirm this, I recompiled One last thing I want to note here, and I can open a separate issue for this if need be: when I do something like |
Updating that I've run into this in zsh as well, and that I just opened crossterm-rs/crossterm#711 and verified that it fixes this issue (and also fixes piping to Helix on macOS) |
You can edit Helix’s [patch.crates-io]
crossterm = { git = "https://github.com/yyogo/crossterm.git", branch = "use-select-in-unix" } |
Helix crashes for me when set as default editor in fish shell. |
Summary
When
zk
tries to run helix, helix crashes with error status 101.I wanted to add helix as default editor for
zk
. For fresh install I set editor inzk
config butReproduction Steps
I tried this:
zk
editor = "hx"
in config per config documentationzk
that should cause launch of helix, for examplezk new
I expected this to happen:
Helix to launch
Instead, this happened:
Helix crashes with:
zk: error: failed to launch editor: hx /Users/<snip>/5e19.md: exit status 101
Here is the code of
zk
that launches editor. It works for me withnano
andvim
Log attached that corresponds with launching running
zk new
.Helix log
~/.cache/helix/helix.log
Platform
macOS
Terminal Emulator
iTerm
Helix Version
helix 22.03 (d4e45fd)
The text was updated successfully, but these errors were encountered: