1#
2# Example /etc/csh.login for Cygwin
3#
4unsetenv TEMP
5unsetenv TMP
6
7set path=( /usr/local/bin /usr/bin /bin $path:q )
8
9if ( ! ${?USER} ) then
10  set user="`id -un`"
11endif
12if ( ! ${?HOME} ) then
13  set home=/home/$USER
14endif
15if ( ! -d "$HOME" ) then
16  mkdir -p "$HOME"
17endif
18
19if ( ! ${?term} || "$term" == "unknown"  || "$tty" == "conin" ) then
20  set term=cygwin
21endif
22
23setenv MAKE_MODE unix
24
25setenv SHELL /bin/tcsh
26
27umask 022
28
29cd
30