1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 01:03:14 +02:00

exec: evaluate option exec.command.shell, change default value to "${env:SHELL}" (closes #1356)

This commit is contained in:
Sébastien Helleu
2019-06-12 18:29:07 +02:00
parent eb216de9b8
commit 04fd587fff
22 changed files with 104 additions and 63 deletions
+3 -2
View File
@@ -141,8 +141,9 @@ exec_config_init ()
"shell", "string",
N_("shell to use with command \"/exec -sh\"; it can be just the name "
"of shell if it is in PATH (for example \"bash\") or the absolute "
"path to the shell (for example \"/bin/bash\")"),
NULL, 0, 0, "sh", NULL, 0,
"path to the shell (for example \"/bin/bash\"); if value is empty, "
"\"sh\" is used (note: content is evaluated, see /help eval)"),
NULL, 0, 0, "${env:SHELL}", NULL, 0,
NULL, NULL, NULL,
NULL, NULL, NULL,
NULL, NULL, NULL);