summaryrefslogtreecommitdiffhomepage
path: root/src/main.c
diff options
context:
space:
mode:
authorSean Kurtz <seankurtz75@gmail.com>2026-11-25 21:54:21 -0600
committerGitHub <noreply@github.com>2026-11-25 21:54:21 -0600
commit8783efd12edd6ab739b8eee7776d6c744df4f677 (patch)
treebadd8a2f1485c15280cdf7c64a167b9ffd0e47c5 /src/main.c
parentc980daddaa17460a65fe1ce7511b680279381dc1 (diff)
parent87c6a0f8f822c57b4f63bc8bb099a33307871414 (diff)
downloadzash-editor/vi-v-dot.tar.gz
Merge pull request #39 from skurtz97/editor/one-editoreditor/vi-v-dot
interactive: one editor, no library
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))