source: src-sh/pc-extractoverlay/desktop-overlay/root/.cshrc @ ae23d60

9.2-releasereleng/10.0releng/10.0.1
Last change on this file since ae23d60 was ae23d60, checked in by Kris Moore <kris@…>, 7 months ago

Enable autorehash for csh by default on the desktop

  • Property mode set to 100644
File size: 1.1 KB
Line 
1# $FreeBSD: src/share/skel/dot.cshrc,v 1.13 2001/01/10 17:35:28 archie Exp $
2#
3# .cshrc - csh resource script, read at beginning of execution by each shell
4#
5# see also csh(1), environ(7).
6#
7
8alias h         history 25
9alias j         jobs -l
10alias la        ls -a
11alias lf        ls -FA
12alias ll        ls -lA
13alias ls        ls -G
14
15# A righteous umask
16umask 22
17
18set path = (/usr/local/share/pcbsd/bin /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
19
20setenv  CLICOLOR true
21setenv  EDITOR  vi
22setenv  PAGER   more
23setenv  BLOCKSIZE       K
24
25
26if ($?prompt) then
27        # An interactive shell -- set some stuff up
28        switch ($TERM)
29        case "xterm*":
30                set prompt = '%{\033]0;%n@%m:%~\007%}[%B%n@%m%b] %B%~%b%# '
31                breaksw
32        default:
33                set prompt = '[%B%n@%m%b] %B%~%b%# '
34                breaksw
35        endsw
36        set filec
37        set history = 100
38        set savehist = 100
39        set autorehash = always
40        set mail = (/var/mail/$USER)
41        if ( $?tcsh ) then
42                bindkey "^W" backward-delete-word
43                bindkey -k up history-search-backward
44                bindkey -k down history-search-forward
45        endif
46endif
Note: See TracBrowser for help on using the repository browser.