summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-21 17:12:40 -0500
committerJune McEnroe <june@causal.agency>2019-11-21 17:12:40 -0500
commitabdbe9ea2da62955b4de1a7ccf3a2e3097cb0211 (patch)
treee08e243ce244fb82baed146d0161544ca46b5fbd /bin
parentRemove vendored libedit (diff)
downloadsrc-abdbe9ea2da62955b4de1a7ccf3a2e3097cb0211.tar.gz
src-abdbe9ea2da62955b4de1a7ccf3a2e3097cb0211.zip
Remove HISTFILE default value
Diffstat (limited to 'bin')
-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 },