On Wed, Jun 08, 2022 at 06:06:51PM -0300, Luciano wrote: > I had the terrible idea to set my EDITOR variable to something too > complex. I had to pass some options with whitespace to vim, so i decided > to use `eval`. [...]
You could create a wrapper script, put it in your $HOME/bin/ directory (and make sure that's in PATH), and then set EDITOR to that wrapper. That should be much more reliable, especially if other programs also use $EDITOR (which they might).