From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3981 invoked from network); 27 Oct 1998 03:08:53 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 27 Oct 1998 03:08:53 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id WAA00156; Mon, 26 Oct 1998 22:01:49 -0500 (EST) Resent-Date: Mon, 26 Oct 1998 22:01:42 -0500 (EST) From: "Bart Schaefer" Message-Id: <981026190227.ZM12184@candle.brasslantern.com> Date: Mon, 26 Oct 1998 19:02:27 -0800 In-Reply-To: Comments: In reply to gossamer@tertius.net.au (Gossamer) "Directory completion" (Oct 27, 2:00am) References: X-Mailer: Z-Mail Lite (5.0.0 30July97) To: gossamer@tertius.net.au, zsh-users@math.gatech.edu Subject: Re: Directory completion MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"pqJ_a1.0.u1.MUJDs"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1886 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Oct 27, 2:00am, Gossamer wrote: > Subject: Directory completion > > compctl -g '*(/)' c > > but it chokes on symlinks. How do I get it to recognize symlinked > directories too? There's a whole thread about this in the zsh-users archive. Go to http://www.zsh.org/cgi-bin/mla/wilma/users and search for completion on cd The short answer is compctl -g '*(D-/)' cd Leave out the D if you don't want to complete directories whose names start with a "." character.