You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to understand exactly why my edition in editor was not working anymore on mac, and after investigation, I did find out that since I have the option noclobber in my rcfile, the following line was actually trying to override an existing file:
Some users may config the noclobber option to prevent from
overwriting existing files with the > operator, we should use >!
operator to ignore the noclobber.
I've been trying to understand exactly why my edition in editor was not working anymore on mac, and after investigation, I did find out that since I have the option
noclobber
in my rcfile, the following line was actually trying to override an existing file:zsh-vi-mode/zsh-vi-mode.zsh
Line 1751 in 63e5a52
I think this behaviour is Mac specific, and that there might be some strange behaviour happening with
mktemp
reusing files, even though you delete it.I got it working by creating a custom widget, and simply replacing
with
This solution should work no matter the status of the clobber option.
Hopefully that is clear enough a description. Please let me know if you need more information
The text was updated successfully, but these errors were encountered: