-
Notifications
You must be signed in to change notification settings - Fork 492
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
Can't use chezmoi edit
with helix editor on macos
#3971
Labels
in dependency
In a dependency, not in chezmoi
Comments
This is a bug in Helix. Current versions of Helix are not able to edit files which are hardlinks. See helix-editor/helix#11279 for the bug and helix-editor/helix#11340 for the fix. The short-term work-around is to put to set |
Thank u, very helpful! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
When running
chezmoi edit $filename
with helix editor in mac os, chezmoi can't receive the change of the file. In my machine, vim, nano, nvim work correctly.To reproduce
When setting the
$EDITOR
tohx
orhelix
,chezmoi edit
will call the helix editor to edit the target file, After write the file, I save and quit helix, but chezmoi can't receive the newer change,chezmoi diff
have no output.Expected behavior
chezmoi diff
can show the change of file andchezmoi apply
can apply the change to the source file.Output of command with the
--verbose
flag--verbose
don't have details output, When I usingchezmoi edit $filename debug
, these outputs tell me chezmoi receive nothing from editor.The out put is as follow:
Output of
chezmoi doctor
Additional context
Nothing.
The text was updated successfully, but these errors were encountered: