From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8211 invoked from network); 13 Mar 2003 15:17:09 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 13 Mar 2003 15:17:09 -0000 Received: (qmail 26180 invoked by alias); 13 Mar 2003 15:16:48 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5965 Received: (qmail 26168 invoked from network); 13 Mar 2003 15:16:47 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 13 Mar 2003 15:16:47 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [66.70.28.20] by sunsite.dk (MessageWall 1.0.8) with SMTP; 13 Mar 2003 15:16:47 -0000 Received: from DervishD.pleyades.net (212.Red-80-35-44.pooles.rima-tde.net [80.35.44.212]) by [66.70.28.21] (8.10.2/8.10.2) with ESMTP id h2DFGhO08670; Thu, 13 Mar 2003 16:16:43 +0100 Received: from raul@pleyades.net by DervishD.pleyades.net with local (Exim MTA 2.05) id <18tUD6-00001U-00>; Thu, 13 Mar 2003 16:01:32 +0100 Date: Thu, 13 Mar 2003 16:01:32 +0100 From: DervishD To: Eric Smith Cc: zsh-users@sunsite.dk Subject: Re: disabling exit Message-ID: <20030313150132.GA88@DervishD> Mail-Followup-To: Eric Smith , zsh-users@sunsite.dk References: <20030312204634.GA21684@fruitcom.com> <20030313101910.GA23691@picard.franken.de> <20030313135948.GA3693@fruitcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20030313135948.GA3693@fruitcom.com> User-Agent: Mutt/1.4i Organization: Pleyades User-Agent: Mutt/1.4i Hi Eric :) Eric Smith dixit: > Also added: > alias exit='echo -e I wont go away' Won't work. Just type 'exit' (that way, with the quotes) and the true 'exit', not the aliased one, will execute :(( Better run 'disable exit'. You can always 'enable exit' again, but... If you really need all that control, how about tweaking the source code?. It's not very difficult and you get control over what builtin commands are present and what not. Good luck :) Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 http://www.pleyades.net & http://www.pleyades.net/~raulnac