summary refs log tree commit diff
path: root/bin/cash/cash.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-11 00:13:22 -0500
committerJune McEnroe <june@causal.agency>2019-01-11 00:13:22 -0500
commit2d722bdd93ba2ddd9d7e4394a845eeea9951ab5f (patch)
tree106206d9ea36a60f411190350a9b9f1ced429d8e /bin/cash/cash.1
parentAdd "blank" lines to cash.1 (diff)
downloadsrc-2d722bdd93ba2ddd9d7e4394a845eeea9951ab5f.tar.gz
src-2d722bdd93ba2ddd9d7e4394a845eeea9951ab5f.zip
Set default ENV to ~/.config/cash/cashrc
Diffstat (limited to '')
-rw-r--r--bin/cash/cash.112
1 files changed, 3 insertions, 9 deletions
diff --git a/bin/cash/cash.1 b/bin/cash/cash.1
index 2f601e0e..322cb852 100644
--- a/bin/cash/cash.1
+++ b/bin/cash/cash.1
@@ -138,17 +138,11 @@ at login time in the
 file, and commands that are executed for every shell inside the
 .Ev ENV
 file.
-The user can set the
+The default value of
 .Ev ENV
-variable to some file by placing the following line in the file
-.Pa .profile
-in the home directory,
-substituting for
-.Pa .cashrc
-the filename desired:
-.
+is:
 .Pp
-.Dl "ENV=$HOME/.cashrc; export ENV"
+.Dl "ENV=${XDG_CONFIG_HOME:-${HOME}/.config}/cash/cashrc"
 .
 .Pp
 The first non-option argument specified on the command line