setup/csh.login-source-csh.local.patch
Martin Osvald 0715e1feca csh.login: Add csh.local into foreach loop
Resolves: RHEL-17226
2024-02-07 09:16:28 +01:00

14 lines
427 B
Diff

diff --git a/csh.login b/csh.login
index 18c5136..3a8e5ce 100644
--- a/csh.login
+++ b/csh.login
@@ -31,7 +31,7 @@ set history=1000
if ( -d /etc/profile.d ) then
set nonomatch
- foreach i ( /etc/profile.d/*.csh )
+ foreach i ( /etc/profile.d/*.csh /etc/profile.d/csh.local )
if ( -r "$i" ) then
if ($?prompt) then
source "$i"