Last change
on this file since 10918 was 10918, checked in by rick, 13 years ago |
Migrate to special commands file to avoid clutter and allow re-use.
One big plus, if you don't like the output you can just nuke the file.
|
File size:
912 bytes
|
Line | |
---|
1 | # $FreeBSD: releng/9.0/etc/root/dot.cshrc 170088 2007-05-29 06:37:58Z dougb $
|
---|
2 | #
|
---|
3 | # .cshrc - csh resource script, read at beginning of execution by each shell
|
---|
4 | #
|
---|
5 | # see also csh(1), environ(7).
|
---|
6 | #
|
---|
7 |
|
---|
8 | alias h history 25
|
---|
9 | alias j jobs -l
|
---|
10 | alias la ls -a
|
---|
11 | alias lf ls -FA
|
---|
12 | alias ll ls -lA
|
---|
13 |
|
---|
14 | # A righteous umask
|
---|
15 | umask 22
|
---|
16 |
|
---|
17 | set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin /tools)
|
---|
18 |
|
---|
19 | setenv EDITOR vim
|
---|
20 | setenv PAGER more
|
---|
21 | setenv BLOCKSIZE K
|
---|
22 |
|
---|
23 | if ($?prompt) then
|
---|
24 | # An interactive shell -- set some stuff up
|
---|
25 | set prompt = "`/bin/hostname -s`# "
|
---|
26 | set filec
|
---|
27 | set histfile = /tmp/.history
|
---|
28 | set history = 1000
|
---|
29 | set savehist = 1000
|
---|
30 | set mail = (/var/mail/$USER)
|
---|
31 | if ( $?tcsh ) then
|
---|
32 | bindkey "^W" backward-delete-word
|
---|
33 | bindkey -k up history-search-backward
|
---|
34 | bindkey -k down history-search-forward
|
---|
35 | endif
|
---|
36 | endif
|
---|
37 |
|
---|
38 | if ($?prompt) then
|
---|
39 | [ -x /etc/motd.cshrc ] && source /etc/motd.cshrc
|
---|
40 | endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.