summary refs log tree commit diff
path: root/bin/1sh/1sh.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-21 17:14:43 -0500
committerJune McEnroe <june@causal.agency>2019-11-21 17:14:43 -0500
commita3709ad68fc7673011d3b8f7642307f271b11efe (patch)
treee5c9642a487d3bab61da1bdc3bae1e187e78c09e /bin/1sh/1sh.1
parentRemove HISTFILE default value (diff)
downloadsrc-a3709ad68fc7673011d3b8f7642307f271b11efe.tar.gz
src-a3709ad68fc7673011d3b8f7642307f271b11efe.zip
Revert "Set default ENV to ~/.config/cash/cashrc"
This reverts commit 7bcd786e3dd7a5e2c064a1fd0dcb68cf0506ca2f.
Diffstat (limited to '')
-rw-r--r--bin/1sh/1sh.112
1 files changed, 9 insertions, 3 deletions
diff --git a/bin/1sh/1sh.1 b/bin/1sh/1sh.1
index 1dbefe09..2a27e704 100644
--- a/bin/1sh/1sh.1
+++ b/bin/1sh/1sh.1
@@ -138,11 +138,17 @@ at login time in the
 file, and commands that are executed for every shell inside the
 .Ev ENV
 file.
-The default value of
+The user can set the
 .Ev ENV
-is:
+variable to some file by placing the following line in the file
+.Pa .profile
+in the home directory,
+substituting for
+.Pa .shrc
+the filename desired:
+.
 .Pp
-.Dl "ENV=$XDG_CONFIG_HOME/1sh/env.sh"
+.Dl "ENV=$HOME/.shrc; export ENV"
 .
 .Pp
 The first non-option argument specified on the command line