From owner-freebsd-questions Fri Aug 9 17:33:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E572637B400 for ; Fri, 9 Aug 2002 17:33:47 -0700 (PDT) Received: from mail.inka.de (quechua.inka.de [212.227.14.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB79943E7B for ; Fri, 9 Aug 2002 17:33:46 -0700 (PDT) (envelope-from mailnull@mips.inka.de) Received: from kemoauc.mips.inka.de (uucp@) by mail.inka.de with local-bsmtp id 17dKCP-0004aO-01; Sat, 10 Aug 2002 02:33:45 +0200 Received: from kemoauc.mips.inka.de (localhost [127.0.0.1]) by kemoauc.mips.inka.de (8.12.5/8.12.5) with ESMTP id g79NWFF9034349 for ; Sat, 10 Aug 2002 01:32:15 +0200 (CEST) (envelope-from mailnull@localhost.mips.inka.de) Received: (from mailnull@localhost) by kemoauc.mips.inka.de (8.12.5/8.12.5/Submit) id g79NWEeq034347 for freebsd-questions@freebsd.org; Sat, 10 Aug 2002 01:32:14 +0200 (CEST) From: naddy@mips.inka.de (Christian Weisgerber) Subject: Re: sh(1) equivalent to bash(1)'s $HOME/.bash_logout? Date: Fri, 9 Aug 2002 23:32:12 +0000 (UTC) Message-ID: References: <20020809071825.A48980@sheol.localdomain> <200208091422.g79EMHGC093218@kemoauc.mips.inka.de> <20020809104209.A50604@sheol.localdomain> Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG D J Hawkey Jr wrote: > > | func() > > | { > > | : do something > > | } > > | > > | trap func 0 > > Hey, this is a neat thought. But for login/interactive shells, where > would I put it? $HOME/.profile doesn't seem right. Well, $HOME/.profile seems right to me. -- Christian "naddy" Weisgerber naddy@mips.inka.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message