#
# .cshrc	-- Commands executed by the C-shell each time it runs
#
#	@(#) cshrc 3.1 89/06/02 
#
# Copyright (c) 1985-1989, The Santa Cruz Operation, Inc.
# All rights reserved.
#
# This Module contains Proprietary Information of the Santa Cruz
# Operation, Inc., and should be treated as Confidential. 
#

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
