# Prototype file sourced by "remove" alias
# $Author: epeisach $
# $Source: /paris/source/4.3/athena.lib/init/RCS/env_remove,v $
# $Header: /paris/source/4.3/athena.lib/init/RCS/env_remove,v 1.3 89/11/16 10:58:45 epeisach Exp $

if ($?setup_dir  && $?setup_filsys) then
	if (-r $setup_dir/.detachrc) source $setup_dir/.detachrc
	cd /			# get out of NFS 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."
