Module Name: src Committed By: tsutsui Date: Sun Feb 2 03:32:02 UTC 2025
Modified Files: src/etc/skel: dot.cshrc Log Message: Set $ENV in the default skel/dot.cshrc as dot.profile for su(1) etc. Fixes PR/59008. Worth to pullup to netbsd-10. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 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.9 src/etc/skel/dot.cshrc:1.10 --- src/etc/skel/dot.cshrc:1.9 Mon Sep 23 12:20:23 2024 +++ src/etc/skel/dot.cshrc Sun Feb 2 03:32:02 2025 @@ -1,4 +1,4 @@ -# $NetBSD: dot.cshrc,v 1.9 2024/09/23 12:20:23 uwe Exp $ +# $NetBSD: dot.cshrc,v 1.10 2025/02/02 03:32:02 tsutsui Exp $ # # This is the default .cshrc file. # Users are expected to edit it to meet their own needs. @@ -62,4 +62,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