Repository navigation
Expand file tree
/
Copy pathcshrc
More file actions
168 lines (148 loc) · 5.58 KB
/
Copy pathcshrc
File metadata and controls
168 lines (148 loc) · 5.58 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
########################################################################
# Sugiyama : updated version 3/95 : iris (SGI INDY)
# : .login sourced after .cshrc
########################################################################
if ($?USER == 0 || $?prompt == 0) exit
set lpath = ( . ${HOME}/bin ${HOME}/work ${HOME}/perl ${HOME}/admin ${HOME}/scripts )
#set path = ( /usr/local/bin $lpath $path /usr/X11R6/bin )
umask 022
########################################################################
# set environmental variables
# set TCAT for man pages on SGI (troff n/a on OSF)
########################################################################
setenv HOSTNAME `hostname -s`
#setenv HOSTNAME `uname -n`
#setenv HOSTNAME "stonefly"
#setenv TERM xterm
########################################################################
# if terminal type not already set enquire for TERM
# if terminal type vt300 (xterminal from VMS) change TERM to xterm
########################################################################
if ($?TERM == 0 || $TERM == "network" ) then
set noglob; eval `tset -m ':?' -Q -s`; unset noglob
endif
if( $TERM == "vt300" ) setenv TERM xterm
########################################################################
# customize prompt and window headers
# header : alias header 'echo -n "]l\!*\"'
# eval "$header"
# : set header='echo -n "]0;"${baseprompt} - $cwd""'
# : xtitle "$cwd"'
# prompt : set baseprompt ="`hostname|sed 's/^.*-//'` \!>"
# : set baseprompt = ${baseprompt[1]}
# : set prompt="\! ${cwd} >"'
# : set prompt="\! `hostname` >"'
# stty tabs intr "^C" quit "^P" kill "^U" erase "" echoe
# no longer need to resize xterm windows with eval resize
########################################################################
set baseprompt="`echo $HOSTNAME`"
set prompt="${baseprompt}($cwd:t)> "
set whoisit = `/usr/bin/whoami`
if ( $whoisit == "root") then
set prompt="${baseprompt}($cwd:t)# "
endif
alias precmd "source ~/bin/setprompt"
set header=''
set header='echo -n "]0;"${baseprompt} - $cwd:t""'
stty tabs intr "^C" quit "^P" kill "^U" erase "^H" echoe
#switch ($TERM)
#case dtterm:
# set header=''
# set header='echo -n "]0;"${baseprompt} - $cwd:t""'
# stty tabs intr "^C" quit "^P" kill "^U" erase "^H" echoe
# breaksw
#case xterm:
# set header=''
# set header='echo -n "]0;"${baseprompt} - $cwd:t""'
# stty tabs intr "^C" quit "^P" kill "^U" erase "^H" echoe
# breaksw
#case xterm-color:
# set header=''
# set header='echo -n "]0;"${baseprompt} - $cwd:t""'
# stty tabs intr "^C" quit "^P" kill "^U" erase "^H" echoe
# breaksw
#case xterm-256color:
# set header=''
# set header='echo -n "]0;"${baseprompt} - $cwd:t""'
# stty tabs intr "^C" quit "^P" kill "^U" erase "^H" echoe
# breaksw
#case vt100:
# set header=''
# set header='echo -n "]0;"${baseprompt} - $cwd:t""'
# stty tabs intr "^C" quit "^P" kill "^U" erase "^H" echoe
# breaksw
#case vt220:
# stty tabs intr "^C" quit "^P" kill "^U" erase "^H" echoe
# breaksw
#endsw
########################################################################
# set path, search path wspath, search path for cd cdpath
set cdpath = ( . $HOME )
set wbpath = ( $path )
set wspath = ( /usr/lib/X11 )
########################################################################
# set shell properties
limit coredumpsize 1
set history = 2500
set savehist = ( 25000 merge)
#set histdup = erase
set noclobber
set ignoreeof
set notify
set filec
unset autologout
set ampm
set listjobs = long
set dunique
set dextract
#set watch = (1 any any)
set who = ("%n from %M --- %a ")
#set who = ("%n from %M --- %a %l")
set correct = all
#set mail="60 /var/mail/`/usr/ucb/whoami`"
set notify
set pushdsilent
set symlinks = ignore
set autolist = ambiguous
########################################################################
# a few more setenv commands
setenv EDB_XTERM 'xterm -fn screen15 -geometry 80x50+0-125 -sb -sl 5000 -bg slateblue4 -fg white -n %T -T %T -xrm "XTerm*allowSendEvents: True" -e'
#setenv PERLLIB /usr/local/perl5:$HOME/lib/perl:/usr/local/rrdtool-1.0.33/lib/perl:.
#######################################################################
# set personal aliases here
source ${home}/.aliases
source ${home}/.gitalias
#source /usr/local/nawips/Gemenviron
#source ${home}/scripts/colorssh/aliases.mine
# GRADS
#######################################################################
# set manpath
#setenv MANPATH ${MANPATH}:/usr/local/share/man:/opt/local/man
#######################################################################
# set display localhost
#setenv DISPLAY :0.0
######################################################################
# path additions for homebew ruby
set path = (/usr/local/opt/ruby/bin $path)
######################################################################
# environment variable additions for boot2docker
setenv DOCKER_TLS_VERIFY 1
setenv DOCKER_HOST "tcp://192.168.59.103:2376"
setenv DOCKER_CERT_PATH "/Users/laufers/.boot2docker/certs/boot2docker-vm"
set OS = `uname`
switch ($OS)
case Linux:
# Setting PATH for EPD
# set path=(/usr/local/epd/bin $path)
# Setting PATH for Anaconda
set path=(/home/laufers/anaconda/bin $path)
breaksw
case Darwin:
# set path=(/Library/Frameworks/EPD64.framework/Versions/Current/bin $path)
# Setting PATH for Anaconda
set path=(/Users/laufers/anaconda/bin $path)
breaksw
endsw
# path for acquia drupal install
# set final path
set path = ( /usr/local/bin $lpath $path /usr/X11R6/bin )