summaryrefslogtreecommitdiffhomepage
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index b4983be..43026f6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -423,10 +423,6 @@ int main(int argc, char **argv) {
opt_login = true;
var_init(environ);
- /* Which line editor was linked in; the tests skip what only one of
- * the two does. Not exported: it describes this program, not the
- * environment a child should see. */
- var_set("ZASH_EDITOR", edit_name, 0);
/* POSIX: the shell sets and exports PWD even when the parent had none. */
char cwd[PATH_MAX];
if (!var_get("PWD") && getcwd(cwd, sizeof cwd))