From 2bb9bfda46fd49e3610c92cc63268c56648a44b3 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 9 Mar 2020 19:39:15 -0400 Subject: Add HISTFILE history saving --- bin/1sh/var.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/1sh/var.c') diff --git a/bin/1sh/var.c b/bin/1sh/var.c index b501ef4a..d7467cc7 100644 --- a/bin/1sh/var.c +++ b/bin/1sh/var.c @@ -85,6 +85,7 @@ struct varinit { #ifndef NO_HISTORY +struct var vhistfile; struct var vhistsize; struct var vterm; #endif @@ -106,6 +107,8 @@ int forcelocal; static const struct varinit varinit[] = { #ifndef NO_HISTORY + { &vhistfile, VUNSET, "HISTFILE=", + sethistfile }, { &vhistsize, VUNSET, "HISTSIZE=", sethistsize }, #endif -- cgit 1.4.1