From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14300 invoked from network); 4 Dec 2003 14:17:39 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 4 Dec 2003 14:17:39 -0000 Received: (qmail 12958 invoked by alias); 4 Dec 2003 14:17:26 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6834 Received: (qmail 12935 invoked from network); 4 Dec 2003 14:17:25 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 4 Dec 2003 14:17:25 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [163.5.0.25] by sunsite.dk (MessageWall 1.0.8) with SMTP; 4 Dec 2003 14:17:24 -0000 Received: from epita.fr ([10.42.1.60]) by deliver.epitech.net (SAVSMTP 3.1.2.35) with SMTP id M2003120414165416644 ; Thu, 04 Dec 2003 14:16:54 +0100 Received: from luke (luke.epita.fr [10.42.21.7]) by epita.fr id hB4EHNT10202 Thu, 4 Dec 2003 15:17:23 +0100 (CET) Date: Thu, 4 Dec 2003 15:17:23 +0100 From: Jean Chalard To: zzapper Cc: zsh-users@sunsite.dk Subject: Re: What does alias -L do? Message-ID: <20031204141723.GA3562@epita.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i > Hi, > (Sorry if you see this posting twice) > > What does alias -L do?; the doc is either silent on this or obscure As far as I understand the info file, I think it just prints what you have to do in a startup script to bind the alias (or every alias in the current shell, if no argument is given) the same way it is in the current shell. For example : $ alias foo=bar $ alias foo foo=bar $ alias -L foo alias foo=bar $ alias -g foo=bar $ alias \foo foo=bar $ alias -L \foo alias -g foo=bar $ See ? It prints what you should put in, say, .zshrc to have the current behaviour of this alias. -- J