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
commit726e6587f20e3e42cffba666fb69b0b0e392637e (patch)
treebcd821e8c9c3dd1a4e08fcd12c8a2f156afb3109 /bin/1sh/var.c
parentSet HISTSIZE in catsh (diff)
downloadsrc-726e6587f20e3e42cffba666fb69b0b0e392637e.tar.gz
src-726e6587f20e3e42cffba666fb69b0b0e392637e.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 },