summary refs log tree commit diff
path: root/bin/cash
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
commit82a7e4cd0789c4730275e5fe72876a98f96676e4 (patch)
tree3c5627826479c871fcbd92bfa42dfb83012dcf72 /bin/cash
parentUse colours in cash prompts (diff)
downloadsrc-82a7e4cd0789c4730275e5fe72876a98f96676e4.tar.gz
src-82a7e4cd0789c4730275e5fe72876a98f96676e4.zip
Change default ENV from cashrc to env.sh
Diffstat (limited to 'bin/cash')
-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 dfd32e79..52a71a7a 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 },