2003-04-24 05:02:26 +04:00
|
|
|
# $NetBSD: dot.cshrc,v 1.3 2003/04/24 01:02:26 perry Exp $
|
|
|
|
#
|
|
|
|
# This is the default .cshrc file.
|
|
|
|
# Users are expected to edit it to meet their own needs.
|
|
|
|
#
|
|
|
|
# The commands in this file are executed each time a new csh shell
|
|
|
|
# is started.
|
|
|
|
#
|
|
|
|
# See csh(1) for details.
|
|
|
|
#
|
2000-10-16 17:12:26 +04:00
|
|
|
|
|
|
|
alias h history 25
|
|
|
|
alias j jobs -l
|
|
|
|
alias la ls -a
|
|
|
|
alias lf ls -FA
|
|
|
|
alias ll ls -lA
|
|
|
|
alias su su -m
|
|
|
|
|
|
|
|
setenv EDITOR vi
|
|
|
|
setenv VISUAL ${EDITOR}
|
|
|
|
setenv EXINIT 'set autoindent'
|
|
|
|
setenv PAGER more
|
|
|
|
|
|
|
|
set path = (~/bin /bin /sbin /usr/{bin,sbin,X11R6/bin,pkg/{,s}bin,games} \
|
|
|
|
/usr/local/{,s}bin)
|
|
|
|
|
|
|
|
if ($?prompt) then
|
|
|
|
# An interactive shell -- set some stuff up
|
|
|
|
set filec
|
|
|
|
set history = 1000
|
|
|
|
set ignoreeof
|
|
|
|
set mail = (/var/mail/$USER)
|
|
|
|
set mch = `hostname -s`
|
|
|
|
set prompt = "${mch:q}: {\!} "
|
|
|
|
endif
|