From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-request@euclid.skiles.gatech.edu Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.6/8.7.3) with ESMTP id WAA14279 for ; Fri, 22 Nov 1996 22:21:08 +1100 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id GAA23303; Fri, 22 Nov 1996 06:08:48 -0500 (EST) Resent-Date: Fri, 22 Nov 1996 06:08:48 -0500 (EST) Message-Id: <199611221108.MAA21377@hydra.ifh.de> X-Authentication-Warning: hydra.ifh.de: Host pws@localhost didn't use HELO protocol To: Fung-Chai Lim , zsh-workers@math.gatech.edu Subject: Re: bug with "compctl -L" in 3.0.1 In-reply-to: "Fung-Chai Lim"'s message of "Fri, 22 Nov 1996 18:40:50 MET." <9611221040.AA00672@fclim.singnet.com.sg> Date: Fri, 22 Nov 1996 12:08:53 +0100 From: Peter Stephenson Resent-Message-ID: <"ODYG83.0.1i5._cObo"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2450 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Fung-Chai Lim wrote: > Hi, > > Although I did a ``compctl -e disable'', ``compctl -L disable'' > returns ``compctl disable''. So does ``compctl''. This bug > is in both versions 3.0.0 and 3.0.1. The manual page says -e has no effect without -d, so on its own it's completely ignored and not even stored: you would need -de (I don't know why it was done like that). However, since its function is to show up commands even if they're already disabled (so you wouldn't want to call disable with them), I doubt if it's quite what you want: I should think ``compctl -c disable'' will probably be enough. The general idea seems to be: with no -d or -e, show only enabled commands; with just -d, show disabled commands; with both -d and -e, show all. -- Peter Stephenson Tel: +49 33762 77366 WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77413 Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen DESY-IfH, 15735 Zeuthen, Germany.