summary refs log tree commit diff
path: root/bin/1sh/var.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/1sh/var.c')
-rw-r--r--bin/1sh/var.c3
1 files changed, 3 insertions, 0 deletions
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