dot.cshrc revision 1.5
1# $NetBSD: dot.cshrc,v 1.5 2011/10/19 10:14:35 tsutsui Exp $ 2# 3# This is the default .cshrc file. 4# Users are expected to edit it to meet their own needs. 5# 6# The commands in this file are executed each time a new csh shell 7# is started. 8# 9# See csh(1) for details. 10# 11 12#setenv EDITOR vi 13#setenv VISUAL ${EDITOR} 14#setenv PAGER more 15 16set path = (~/bin /bin /sbin /usr/{bin,sbin,X11R7/bin,X11R6/bin,pkg/{,s}bin,games} \ 17 /usr/local/{,s}bin) 18 19if ($?prompt) then 20 # An interactive shell -- set some stuff up 21 set filec 22 set history = 1000 23 set ignoreeof 24 set mail = (/var/mail/$USER) 25 set mch = `hostname -s` 26 set prompt = "${mch:q}: {\!} " 27endif 28