zsh-users
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: John Buttery <john@io.com>
Cc: zsh-users@sunsite.dk
Subject: Re: bash convert: new completion system skeleton?
Date: Mon, 27 Jan 2003 11:08:11 +0100	[thread overview]
Message-ID: <10816.1043662091@finches.logica.co.uk> (raw)
In-Reply-To: <20030124211903.GE6160@io.com>

On 24 Jan, you wrote:
> 
> > cool. I guess it could be really useful.=20
> 
>   I second that; I realize that zsh's new zstyle stuff is more powerful
> inherently than bash's system, but still I see almost-daily updates to
> the "bash-completion" project on freshmeat with new stuff and it would
> be great to be able to use it.  That is, as long as it doesn't generate
> too much unwanted work for someone and doesn't interfere with zsh's own
> completion of course.  :)

They make a release for every tiny change to bash-completion though.
There aren't that many programs it handles that zsh doesn't.

I've just got a few issues to clear up and I'll post something to do this
to -workers in a day or two. Making use of the bash-completion project
still won't be entirely easy. It takes a bit of tweaking before I can
source the file. Making use of the regular bash_completion updates will
require a lot of effort. But for getting your own collection of bash
completions to work, it will work fairly well.

It was interesting to see in more detail how the bash system works. It is
quite a bit less powerful even than compctl and in some respects lacking
relative to tcsh. Though using shell code to find out where in the line
the cursor is is better than those systems. It can only complete whole
arguments at a time and the way it can only fall back on a default glob
for half decent file completion is fairly unpleasant.

Oliver

This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain proprietary material, confidential information and/or be subject to legal privilege.  It should not be copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.


      reply	other threads:[~2003-01-27 10:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-17 13:16 clemens fischer
2003-01-24 10:37 ` Peter Stephenson
2003-01-24 10:42 ` Borzenkov Andrey
2003-01-24 11:12 ` Oliver Kiddle
2003-01-24 11:19   ` Borzenkov Andrey
2003-01-24 19:37     ` clemens fischer
2003-01-24 21:19     ` John Buttery
2003-01-27 10:08       ` Oliver Kiddle [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=10816.1043662091@finches.logica.co.uk \
    --to=okiddle@yahoo.co.uk \
    --cc=john@io.com \
    --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).