Nushell+helix - $env.EDITOR does not work from e.g. yazi or git #12842
-
I use nushell as my shell, and have recently decided to give helix a try for a month. I've run into a weird issue, and I'm not sure where the problem lies. ContextHost: Macbook Pro (M2 Pro) 14.7.1 Sonoma Helix and nushell installed from nixpkgs (nix-darwin). The problemThis morning when I went to do a
Additionally, if I try to open a text file in
and I can launch/use hx normally. I also have
and can run evaluate it, e.g. this works: Does anybody have any thoughts/has experienced this before? EDIT: Things work fine if I use EDIT2: I tested this out on my desktop PC (running nixOS) and everything appears fine. Seems to be some strange interplay between macOS/nushell/helix. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I also got this problem, I use yazi and helix on nushell and I can't use hx with yazi.toml. I hope someone know how to fix this! |
Beta Was this translation helpful? Give feedback.
-
Have you tried to describe the whole path for hx , rather than just binary name. Sometimes the executable don't be in the global path |
Beta Was this translation helpful? Give feedback.
-
I just fix it lmao, I use 'helix' in $EDITOR instead of hx in .bashrc |
Beta Was this translation helpful? Give feedback.
Have you tried to describe the whole path for hx , rather than just binary name. Sometimes the executable don't be in the global path