[darcs-users] How to set external editor ?

Alexis Praga alexis.praga at gmail.com
Fri Sep 3 20:47:22 UTC 2021


"Karl O. Pinc" <kop at karlpinc.com> writes:

> You probably need to set your environment variable
> and export it.  If you don't export a variable the
> variable is not available to spawned processes.

Dang, I've been bitten by the uncommon syntax of fish. You're right, I
needed to set it as an environmental variable:

> set -x EDITOR=/usr/local/bin/nvim
instead of 
> set EDITOR=/usr/local/bin/nvim

This works, though:
> EDITOR=/usr/local/bin/nvim darcs record

Sorry for the noise and thanks for the quick answer.


-- 
Alexis Praga


More information about the darcs-users mailing list