Module Name:    src
Committed By:   martin
Date:           Thu Feb 20 19:26:07 UTC 2025

Modified Files:
        src/etc/skel [netbsd-10]: dot.cshrc

Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #1047):

        etc/skel/dot.cshrc: revision 1.10

Set $ENV in the default skel/dot.cshrc as dot.profile for su(1) etc.

Fixes PR/59008.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.8.14.1 src/etc/skel/dot.cshrc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/skel/dot.cshrc
diff -u src/etc/skel/dot.cshrc:1.8 src/etc/skel/dot.cshrc:1.8.14.1
--- src/etc/skel/dot.cshrc:1.8	Thu Mar  1 06:12:09 2018
+++ src/etc/skel/dot.cshrc	Thu Feb 20 19:26:07 2025
@@ -1,4 +1,4 @@
-#	$NetBSD: dot.cshrc,v 1.8 2018/03/01 06:12:09 snj Exp $
+#	$NetBSD: dot.cshrc,v 1.8.14.1 2025/02/20 19:26:07 martin Exp $
 #
 # This is the default .cshrc file.
 # Users are expected to edit it to meet their own needs.
@@ -54,4 +54,7 @@ if ($?prompt) then
 	# Set the prompt to include the hostname.
 	set mch = `hostname -s`
 	set prompt = "${mch:q}: {\!} "
+
+	# Configure the shell (on su(1) etc.) to load .shrc at startup time.
+	setenv ENV ~/.shrc
 endif

Reply via email to