summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--bin/1sh/var.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/1sh/var.c b/bin/1sh/var.c
index 6cfeefe4..8a0d4418 100644
--- a/bin/1sh/var.c
+++ b/bin/1sh/var.c
@@ -113,7 +113,7 @@ static const struct varinit varinit[] = {
 	{ &venv, 0, "ENV=" XDG_CONFIG_HOME "/1sh/env.sh",
 	  NULL },
 #ifndef NO_HISTORY
-	{ &vhistfile, 0, "HISTFILE=" XDG_DATA_HOME "/1sh/history",
+	{ &vhistfile,	VUNSET,				"HISTFILE=",
 	  sethistfile },
 	{ &vhistsize,	VUNSET,				"HISTSIZE=",
 	  sethistsize },