editor: make editor configurable via /executable

`/executable set editor /full/path/to/edit`.

Regards https://github.com/profanity-im/profanity/issues/1521
This commit is contained in:
Michael Vetter
2021-04-16 23:18:19 +02:00
parent 1f4f912e78
commit 19c5925c37
4 changed files with 23 additions and 3 deletions

View File

@@ -1044,6 +1044,7 @@ cmd_ac_init(void)
autocomplete_add(executable_ac, "avatar");
autocomplete_add(executable_ac, "urlopen");
autocomplete_add(executable_ac, "urlsave");
autocomplete_add(executable_ac, "editor");
}
void