Hello,

Liliana Marie Prikler <liliana.prik...@gmail.com> skribis:

> Am Donnerstag, dem 16.11.2023 um 16:25 +0100 schrieb Ludovic Courtès:

[...]

>> It’d be nice to support these as well.  However, how do we know we’re
>> dealing with kate or VSCode?  By checking the basename of $EDITOR?
>> Kinda ugly and brittle, but probably better than nothing.
> Maybe we can check for a guix_editor shell function and invoke that
> rather than EDITOR if defined?

‘guix edit’ cannot “invoke” a shell function though.

I was thinking of something more gross, like checking whether the
basename of $EDITOR is ‘kate’ or ‘vscode’ and in that case do whatever
is relevant for those editors.

WDYT?

Ludo’.

Reply via email to