diff options
Diffstat (limited to 'cygwin/csh.login')
| -rw-r--r-- | cygwin/csh.login | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/cygwin/csh.login b/cygwin/csh.login new file mode 100644 index 000000000000..876b3e33c140 --- /dev/null +++ b/cygwin/csh.login @@ -0,0 +1,29 @@ +# +# Example /etc/csh.login for Cygwin +# +unsetenv TEMP +unsetenv TMP + +set path=( /usr/local/bin /usr/bin /bin $path:q ) + +if ( ! ${?USER} ) then + set user="`id -un`" +endif +if ( ! ${?HOME} ) then + set home=/home/$USER +endif +if ( ! -d "$HOME" ) then + mkdir -p "$HOME" +endif + +if ( ! ${?term} || "$term" == "unknown" || "$tty" == "conin" ) then + set term=cygwin +endif + +setenv MAKE_MODE unix + +setenv SHELL /bin/tcsh + +umask 022 + +cd |
