]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - bin/csh/dot.cshrc
Implement pci_enable_msi() and pci_disable_msi() in the LinuxKPI.
[FreeBSD/FreeBSD.git] / bin / csh / dot.cshrc
1 # $FreeBSD$
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/local/sbin /usr/local/bin $HOME/bin)
19
20 setenv  EDITOR  vi
21 setenv  PAGER   less
22
23 if ($?prompt) then
24         # An interactive shell -- set some stuff up
25         set prompt = "%N@%m:%~ %# "
26         set promptchars = "%#"
27
28         set filec
29         set history = 1000
30         set savehist = (1000 merge)
31         set autolist = ambiguous
32         # Use history to aid expansion
33         set autoexpand
34         set autorehash
35         set mail = (/var/mail/$USER)
36         if ( $?tcsh ) then
37                 bindkey "^W" backward-delete-word
38                 bindkey -k up history-search-backward
39                 bindkey -k down history-search-forward
40         endif
41
42 endif