From 4758ffb1194e1d8471ab0f8abd4a41781dc13fda Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 13 Jan 2019 15:05:29 -0500 Subject: Change default ENV from cashrc to env.sh --- bin/cash/cash.1 | 2 +- bin/cash/var.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') 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 }, -- cgit 1.4.1