summaryrefslogtreecommitdiff
path: root/cygwin/csh.login
blob: 876b3e33c1405a62b6b3ed7cfba18807f505fae1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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