Johannes Altmanninger 51a3885d8c funced: avoid interpreting special characters in function name
Commit c3374ffd0 ("Use read --tokenize instead of eval for $BROWSER &
$EDITOR") converted uses of "eval" for environment variables to use the
safer "read -at", which performs word splitting but no other expansion.

funced contained a leftover instance of "eval". Remove it in favor
of using the editor command that was already word-split.
This means that we don't accidentally evaluate the file name.

(Also "set -gx EDITOR=~/my-editor" won't work anymore because the ~
is not expanded anymore but no one has complained about that behavior
in edit_command_buffer.)

Fixes #8289
2021-09-13 19:16:41 +02:00
..
2020-05-28 17:41:01 +02:00
2020-11-22 14:39:48 +01:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2020-11-22 14:39:48 +01:00
2020-04-21 21:11:26 +02:00
2021-04-13 15:50:00 +02:00
2020-09-12 20:17:30 +02:00
2021-04-27 16:33:41 +02:00
2021-07-22 19:19:49 +02:00
2021-06-03 09:54:20 +02:00
2021-05-14 21:49:53 +02:00
2020-07-21 16:59:05 +02:00
2020-04-26 14:39:15 +02:00