From 82a7e4cd0789c4730275e5fe72876a98f96676e4 Mon Sep 17 00:00:00 2001 From: June 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/cash') 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 }, -- cgit 1.4.1