dot.cshrc revision 70859
150472Speter# $FreeBSD: head/etc/root/dot.cshrc 70859 2001-01-10 02:37:16Z archie $
239145Sbrian#
358570Srwatson# .cshrc - csh resource script, read at beginning of execution by each shell
458570Srwatson#
558570Srwatson# see also csh(1), environ(7).
658570Srwatson#
737Srgrimes
812539Sjkhalias h		history 25
912539Sjkhalias j		jobs -l
1012539Sjkhalias la	ls -a
1112539Sjkhalias lf	ls -FA
1212539Sjkhalias ll	ls -lA
1337Srgrimes
1461029Sasmodai# A righteous umask
1558570Srwatsonumask 22
1658570Srwatson
1757802Srwatsonset path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin)
1857802Srwatson
1958570Srwatsonsetenv	EDITOR	vi
2012539Sjkhsetenv	PAGER	more
2112539Sjkhsetenv	BLOCKSIZE	K
2237Srgrimes
2337Srgrimesif ($?prompt) then
2412539Sjkh	# An interactive shell -- set some stuff up
2531029Sphk	set prompt = "`hostname -s`# "
26997Srgrimes	set filec
2712539Sjkh	set history = 100
2812539Sjkh	set savehist = 100
2912539Sjkh	set mail = (/var/mail/$USER)
3070859Sarchie	if ( $?tcsh ) then
3170859Sarchie		bindkey "^W" backward-delete-word
3270859Sarchie		bindkey -k up history-search-backward
3370859Sarchie		bindkey -k down history-search-forward
3470859Sarchie	endif
3537Srgrimesendif
36