aboutsummaryrefslogtreecommitdiff
path: root/local/.cshrc
blob: 35242235e5b1ea18742a9c15f2a0d1853af65820 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# .cshrc - csh resource script, read at beginning
#	   of execution by each shell

umask 022
setenv iraf /iraf/build/iraf/
setenv IRAFARCH  `$iraf/unix/hlib/irafarch.csh -actual`
source $iraf/unix/hlib/irafuser.csh

#setenv IRAFARCH macintel
#setenv XC_F77    "g95"
#setenv XC_LFLAGS "-lg95"
#setenv XC_XFLAGS "-/mfpmath=sse -/free-vectorize -/msse"
#setenv XC_FFLAGS "-mfpmath=sse -ftree-vectorize -msse"
#setenv XC_CFLAGS "-mfpmath=sse -ftree-vectorize -msse"

setenv  LC_COLLATE	POSIX


switch (`uname`)
case FreeBSD:
    set path = (. $HOME/bin /sbin /bin /usr/sbin /usr/bin /usr/games \
	/usr/local/bin /usr/local/sbin \
	/usr/X11R6/bin)
    breaksw
case Linux:
    set path = (. $HOME/bin /sbin /bin /usr/sbin /usr/bin /usr/games \
	/usr/local/bin /usr/local/sbin /usr/java/j2sdk/bin \
	/usr/X11R6/bin)
    breaksw
case Darwin:
    set path = (. $HOME/bin /sbin /bin /usr/sbin /usr/bin /usr/games \
	/usr/local/bin /opt/local/bin /usr/local/sbin \
	/usr/local/pvm/pvm3/bin /usr/local/pvm/pvm3/lib \
	/usr/X11R6/bin)
    breaksw
case SunOS:
    set path = (. $HOME/bin /usr/local/bin \
	/usr/openwin/bin /usr/bin /bin /sbin /usr/sbin \
	/usr/ccs/bin /usr/dt/bin /usr/ucb \
	/opt/SUNWjws/JWS/intel-S2/bin \
	/opt/Summertime_98.i386/bin \
	/opt/Summertime_98.i386/sbin \
	/opt/Summertime_98.i386/TeX/bin \
	/opt/Summertime_98.i386/Perl/bin \
	/opt/Summertime_98.i386/Python/bin \
	/opt/Summertime_97.i386/netpbm/bin)
    breaksw
default:
    set path = (. $HOME/bin /sbin /bin /usr/sbin /usr/bin /usr/games \
	/usr/local/bin /usr/local/sbin \
	/usr/X11R6/bin)
    breaksw
endsw

if ($?prompt) then
	# An interactive shell -- set some stuff up
	set filec
	set history = 100
	set savehist = 100
	set mail = (/var/mail/$USER)

	set prompt = "`hostname -s`> "

	# make mail(1) happy:
	setenv	crt	24
endif

setenv XFILESEARCHPATH ":/usr/lib/X11/%T/%N%S:/usr/x11R6/lib/X11/%T/%N%S:"


alias   del	'/bin/rm -f'
alias   ls	'ls -FCs'
alias   m	'less'
alias 	p	'vi + ~/_port'
alias	mk	'mkpkg'
alias 	po	'popd'
alias 	pu	'pushd'

alias	new	'find . \! -type d -mtime -7 -print'
alias	newt	'find . \! -type d -mtime -7 -print | grep -v '\''\.[aoe]$'\'
alias	newt2	'find . \! -type d -mtime -14 -print | grep -v '\''\.[aoe]$'\'
alias	newt3	'find . \! -type d -mtime -21 -print | grep -v '\''\.[aoe]$'\'
alias	newt4	'find . \! -type d -mtime -31 -print | grep -v '\''\.[aoe]$'\'