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
commiteb43f0cbd5a05574a5d020f3e4b739d0ecb81338 (patch)
tree44896ccbc9c05c92d3688f954b8dd4ff957cdd4c /bin
parentRemove vendored libedit (diff)
downloadsrc-eb43f0cbd5a05574a5d020f3e4b739d0ecb81338.tar.gz
src-eb43f0cbd5a05574a5d020f3e4b739d0ecb81338.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 },