zsh-users
 help / color / mirror / code / Atom feed
From: Jean-Rene David <jrdavid@magma.ca>
To: zsh-users@sunsite.dk
Subject: Re: Adding array content to cd completion
Date: Wed, 15 Nov 2006 01:09:50 -0500	[thread overview]
Message-ID: <20061115060949.GD7601@princo> (raw)
In-Reply-To: <20061115052710.GA7507@localhost.localdomain>

* arno. [2006.11.15 00:30]:
> Is it "named directories" you are looking for ?                                                                                              

Thanks, but no. I already use those, the problem
is they are static (see below).

> It's not exactly what you are asking, but may be
> it could help.                                                                              

The directory array is dynamic. It is kind of like
the directory stack -- a history of the
directories I've visited -- with some differences.

But in fact the exact purpose isn't really that
important: I'm doing this to learn how to
customize the completion system.

I've figured out from various sources how to
create a completion widget but I haven't yet found
an elegant way to just add some matches to an
existing completer function. Hence my question.

Maybe just hacking _cd would be the best way to
learn...

-- 
JR


  reply	other threads:[~2006-11-15  6:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-15  5:09 Jean-Rene David
2006-11-15  5:27 ` arno.
2006-11-15  6:09   ` Jean-Rene David [this message]
2006-11-15 11:08 ` Peter Stephenson
2006-11-15 14:54   ` Peter Stephenson

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=20061115060949.GD7601@princo \
    --to=jrdavid@magma.ca \
    --cc=zsh-users@sunsite.dk \
    /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).