summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-13 15:05:29 -0500
committerJune McEnroe <june@causal.agency>2019-01-13 15:05:29 -0500
commit4758ffb1194e1d8471ab0f8abd4a41781dc13fda (patch)
tree92c5d3d989bf2050d33f565dd5e97698bf4e32d0 /bin
parentUse colours in cash prompts (diff)
downloadsrc-4758ffb1194e1d8471ab0f8abd4a41781dc13fda.tar.gz
src-4758ffb1194e1d8471ab0f8abd4a41781dc13fda.zip
Change default ENV from cashrc to env.sh
Diffstat (limited to '')
-rw-r--r--bin/cash/cash.12
-rw-r--r--bin/cash/var.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/cash/cash.1 b/bin/cash/cash.1
index 14c7aeca..55e7fa8e 100644
--- a/bin/cash/cash.1
+++ b/bin/cash/cash.1
@@ -142,7 +142,7 @@ The default value of
 .Ev ENV
 is:
 .Pp
-.Dl "ENV=${XDG_CONFIG_HOME:-${HOME}/.config}/cash/cashrc"
+.Dl "ENV=${XDG_CONFIG_HOME:-${HOME}/.config}/cash/env.sh"
 .
 .Pp
 The first non-option argument specified on the command line
diff --git a/bin/cash/var.c b/bin/cash/var.c
index e183eaa3..18e5de62 100644
--- a/bin/cash/var.c
+++ b/bin/cash/var.c
@@ -106,7 +106,7 @@ struct localvar *localvars;
 int forcelocal;
 
 static const struct varinit varinit[] = {
-	{ &venv, 0, "ENV=${XDG_CONFIG_HOME:-${HOME}/.config}/cash/cashrc", NULL },
+	{ &venv, 0, "ENV=${XDG_CONFIG_HOME:-${HOME}/.config}/cash/env.sh", NULL },
 #ifndef NO_HISTORY
 	{ &vhistsize,	VUNSET,				"HISTSIZE=",
 	  sethistsize },