head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	95.03.23.02.51.45;	author svalente;	state Exp;
branches;
next	;


desc
@env_remove
@


1.1
log
@Initial revision
@
text
@# Prototype file sourced by "remove" alias
# $Author: mar $
# $Source: /afs/rel-eng.athena.mit.edu/project/release/current/source/athena/dotfiles/system/RCS/env_remove,v $
# $Header: /afs/rel-eng.athena.mit.edu/project/release/current/source/athena/dotfiles/system/RCS/env_remove,v 1.4 92/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."
@
