Editor executable support flags

* Make editor executable into a string to be able to support
   (multiple) flags.
 * Change /help executable to suit this new feature

Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
This commit is contained in:
Daniel Santos
2023-03-30 21:44:26 +01:00
parent 2093fe417f
commit 007f623ad8
2 changed files with 7 additions and 2 deletions

View File

@@ -2545,7 +2545,7 @@ static const struct cmd_t command_defs[] = {
"/executable urlsave set \"curl %u -o %p\"",
"/executable urlsave default",
"/executable vcard_photo set \"feh %p\"",
"/executable editor set vim")
"/executable editor set \"emacsclient -t\"")
},
{ CMD_PREAMBLE("/url",