summary refs log tree commit diff
path: root/bin/1sh/var.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-06-28 22:28:32 -0400
committerJune McEnroe <june@causal.agency>2019-06-28 22:28:32 -0400
commit2a0976b40a2b3888f9ba9f2d047f81b98837dc58 (patch)
tree0bdcc7964063ffbb9945b5538c4e1c42b91b2b64 /bin/1sh/var.c
parentSet HISTSIZE in catsh (diff)
downloadsrc-2a0976b40a2b3888f9ba9f2d047f81b98837dc58.tar.gz
src-2a0976b40a2b3888f9ba9f2d047f81b98837dc58.zip
Rename catsh to 1sh
Yes it's another rename because I felt like catsh was too long. 1sh is
short and unique.
Diffstat (limited to '')
-rw-r--r--bin/1sh/var.c (renamed from bin/catsh/var.c)4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/catsh/var.c b/bin/1sh/var.c
index 435d3307..83e48732 100644
--- a/bin/catsh/var.c
+++ b/bin/1sh/var.c
@@ -111,10 +111,10 @@ int forcelocal;
 #define XDG_DATA_HOME "${XDG_DATA_HOME:-${HOME}/.local/share}"
 
 static const struct varinit varinit[] = {
-	{ &venv, 0, "ENV=" XDG_CONFIG_HOME "/catsh/env.sh",
+	{ &venv, 0, "ENV=" XDG_CONFIG_HOME "/1sh/env.sh",
 	  NULL },
 #ifndef NO_HISTORY
-	{ &vhistfile, 0, "HISTFILE=" XDG_DATA_HOME "/catsh/history",
+	{ &vhistfile, 0, "HISTFILE=" XDG_DATA_HOME "/1sh/history",
 	  sethistfile },
 	{ &vhistsize,	VUNSET,				"HISTSIZE=",
 	  sethistsize },