- 论坛徽章:
- 0
|
我的.cshrc
2 #
3 # .cshrc - csh resource script, read at beginning of execution by each shell
4 #
5 # see also csh(1), environ(7).
6 # more examples available at /usr/share/examples/csh/
7 #
8
9 alias h history 25
10 alias j jobs -l
11 alias la ls -aF
12 alias lf ls -FA
13 alias ll ls -lAF
14
15 # A righteous umask
16 umask 22
17
18 set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
19
20 setenv EDITOR vi
21 setenv PAGER more
22 setenv BLOCKSIZE K
23
24 if ($?prompt) then
25 # An interactive shell -- set some stuff up
26 set prompt = "%N@%m:%~ %# "
27 set promptchars = "%#"
28
29 set filec
30 set history = 1000
31 set savehist = (1000 merge)
32 set autolist = ambiguous
33 # Use history to aid expansion
34 set autoexpand
35 set autorehash
36 set mail = (/var/mail/$USER)
37 if ( $?tcsh ) then
38 bindkey "^W" backward-delete-word
39 bindkey -k up history-search-backward
40 bindkey -k down history-search-forward
41 endif
42
43 endif
44
45 setenv TOMCAT_HOME /usr/local/apache-tomcat-6.0
46 setenv JAVA_HOME /usr/local/openjdk6
47 setenv CLASSPATH /usr/local/openjdk6/lib:/usr/local/openjdk6/jre/lib/ext:/usr/local/openjdk6/lib/tools.jar:/usr/local/share/java/classes:/usr/local/openjdk6/jre:/usr/local/share/java/classes
48 setenv PACKAGESITE ftp://ftp.tw.freebsd.org/pub/Fre ... 9.2-release/Latest/
~
回复 2# lsstarboy
|
|