zsh-users
 help / color / mirror / code / Atom feed
From: "Michael Barnes" <mibarnes@vt.edu>
To: zsh-users@math.gatech.edu
Cc: gossamer@tertius.net.au
Subject: Re: Directory completion
Date: Mon, 26 Oct 1998 21:23:57 -0500	[thread overview]
Message-ID: <19981026212357.A11733@mibarnes.lib.vt.edu> (raw)
In-Reply-To: <slrn73aa9c.7jf.gossamer@tertius.net.au>; from Gossamer on Tue, Oct 27, 1998 at 02:00:13AM +0000

try:

compctl -g '*(-/)' c cd pushd




On Tue, Oct 27, 1998 at 02:00:13AM +0000, Gossamer wrote:
> 
> I have cd aliased to 'c', and wanted to get it so it only completed
> on directories ... the obvious seemed to be this:


^^^^^^^^^^^^^^


Geesh, and i though i was lazy :)


Mike

> 
> compctl -g '*(/)' c
> 
> but it chokes on symlinks.  How do I get it to recognize symlinked
> directories too?  I have quite a lot of them around.
> 
> 
> bekj
> 
> -- 
> : --Neophilic-Hacker-Grrl-Geek-Eclectic-Gay-Disabled-Boychick--
> : gossamer@tertius.net.au  http://www.tertius.net.au/~gossamer/
> : If you can spend a perfectly useless afternoon in a perfectly
> : useless manner, you have learned how to live.  -- Lin Yutang


  reply	other threads:[~1998-10-27  2:27 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 [this message]
1998-10-27  2:30   ` Bek Oberin
1998-10-27  3:02 ` Bart Schaefer

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=19981026212357.A11733@mibarnes.lib.vt.edu \
    --to=mibarnes@vt.edu \
    --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).