From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26001 invoked from network); 6 Jan 1997 15:43:17 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by coral.primenet.com.au with SMTP; 6 Jan 1997 15:43:17 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id KAA26273; Mon, 6 Jan 1997 10:48:09 -0500 (EST) Resent-Date: Mon, 6 Jan 1997 10:48:09 -0500 (EST) Message-Id: <199701061544.QAA13917@hydra.ifh.de> To: John Harres cc: zsh-workers@math.gatech.edu Subject: Re: MH command completion problems In-reply-to: "John Harres"'s message of "Mon, 06 Jan 1997 08:24:10 MET." <199701061524.IAA05804@horseman.uwyo.edu> Date: Mon, 06 Jan 1997 16:44:52 +0100 From: Peter Stephenson Resent-Message-ID: <"EgYn_.0.PQ6.uwHqo"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2734 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu John Harres wrote: > I tried the ^D, and you are right, it did list the subfolders correctly. > Subsequently hitting still only inserts more /'s. I think it must be a shell bug. See if you get the problem with: tstfn() { reply=("${1%/*}/foo" "${1%/*}/bar") } compctl -K tstfn -S / -q tstfn tstfn foo/ This certainly gives me the double / (you can't get any more because of the way tstfn is defined), but autolist does work for me. -- Peter Stephenson Tel: +49 33762 77366 WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77413 Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen DESY-IfH, 15735 Zeuthen, Germany.