# Prototype file sourced by "remove" alias
# $Author: mar $
# $Source: /afs/dev.mit.edu/source/repository/packs/dotfiles/env_remove,v $
# $Header: /afs/dev.mit.edu/source/repository/packs/dotfiles/env_remove,v 1.4 1992/04/27 13:48:32 mar Exp $

if ($?setup_dir  && $?setup_filsys) then
	if (-r $setup_dir/.detachrc) source $setup_dir/.detachrc
	cd /			# get out of locker
	/bin/athena/detach $setup_filsys
	kill -HUP $$ 		# cause shell to exit
endif

echo "Remove only works from the same shell in which you typed setup."
