zsh-users
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: gossamer@tertius.net.au, zsh-users@math.gatech.edu
Subject: Re: Directory completion
Date: Mon, 26 Oct 1998 19:02:27 -0800	[thread overview]
Message-ID: <981026190227.ZM12184@candle.brasslantern.com> (raw)
In-Reply-To: <slrn73aa9c.7jf.gossamer@tertius.net.au>

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.


      parent reply	other threads:[~1998-10-27  3:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-27  2:00 Gossamer
1998-10-27  2:23 ` Michael Barnes
1998-10-27  2:30   ` Bek Oberin
1998-10-27  3:02 ` Bart Schaefer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=981026190227.ZM12184@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=gossamer@tertius.net.au \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).