[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inconsistency between fc and C-x C-e

From: Greg Wooledge
Subject: Re: Inconsistency between fc and C-x C-e
Date: Wed, 8 Jun 2022 17:49:52 -0400

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).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]