#	@(#) cshrc 23.1 91/08/29 
#
#	Copyright (C) 1989-1991 The Santa Cruz Operation, Inc.
#		All Rights Reserved.
#	The information in this file is provided for the exclusive use of
#	the licensees of The Santa Cruz Operation, Inc.  Such users have the
#	right to use, modify, and incorporate this code into other products
#	for purposes authorized by the license agreement provided they include
#	this notice and the associated copyright notice with any such product.
#	The information in this file is provided "AS IS" without warranty.
#
# .cshrc	-- Commands executed by the C-shell each time it runs
#

set noclobber				# don't allow '>' to overwrite
set history=20				# save last 20 commands
if ($?prompt) then
	set prompt=\!%\ 		# set prompt string
# some BSD lookalikes that maintain a directory stack
	if (! $?_d) set _d = ()
	alias	popd	'cd $_d[1]; echo ${_d[1]}:; shift _d'
	alias	pushd	'set _d = (`pwd` $_d); cd \!*'
	alias	swapd	'set _d = ($_d[2] $_d[1] $_d[3-])'
	alias	flipd	'pushd .; swapd ; popd'
endif
alias print 'pr -n \!:* | lp'		# print command alias
