1 2 3 4 5 6 7 8 9
#!/bin/csh if ( -d "$HOME/.profile.d") then foreach i ("$HOME"/.profile.d/*.csh) source "$i" end endif unsetenv i