Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: yet another _git update
- X-seq: zsh-workers 23584
- From: "Nikolai Weibull" <now@xxxxxxxx>
- To: "zsh workers" <zsh-workers@xxxxxxxxxx>
- Subject: Re: PATCH: yet another _git update
- Date: Sat, 23 Jun 2007 15:09:29 +0200
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Qwh3/OjsjIPQlQz9GqwI4D/BsLVb6NFLLfP5Bc42oLZ1n2gB/I/0ckL6fi9BPlURlj/IJ4UbvWcRT1E6NMQzUvKpeCQAZSmQDRMStQoQMADnhknQ7h9AfGxceT8xYq/Hmf++uclA9hS0p2Q0rnKR+G/lVteUTJHTlnkV3mz2QVA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=e9Mjgzjt7Gx1D/4QNEzBCvYvuaB7jD9PuUDp+BEPLFjGCwyuPxPClYx3I/w7JbWw3tkT2kmfLujf6gEKwp2pGSbpmKZaBys/2QpxAWqFqRpnZ0EZxfhHBS84UbIlpALbw49CxiIKN8CyrkGjQSAiJKf1C064MQIeLr5FYeThn84=
- In-reply-to: <20070623100226.GB6305@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20070623100226.GB6305@xxxxxxxxxxxxxxx>
- Sender: nikolai.weibull@xxxxxxxxx
On 6/23/07, Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx> wrote:
Hi list.
The following patch addresses the following issues:
(all related to _git_commands)
a) To provide a nice looking list, we currently use a hardcoded list
of 'command:description' pairs. However this does not guarantee,
that all possible subcommands available on a system will be taken
into account.
b) git has got a nice feature, that lets you define aliases for
commonly used commands, so that you can do 'git pub', which git
may then (if configured) expand to 'git push public', to push
local changes to a public repository for example. (Of course,
you need to configure git, so that it knows where 'public' is.)
These aliases are currently not considered.
(Nikolai: I wanted to check your _git-repo this morning, to see, if
you addressed this one already. However I got an 'Access denied.'.)
Hi!
Works fine now. These issues have been addressed, yes. Commands are
broken up into different groups, so you can easily configure what gets
shown.
One way of making sure that commands that we currently don't know
about gets included is to merge the output of $(git help -a) with the
list of commands we have descriptions for. That way you don't have to
choose. Also, you can avoid the description if you don't want the
long list:
zstyle ':completion::complete:git:*' verbose no
or something like that.
nikolai
Messages sorted by:
Reverse Date,
Date,
Thread,
Author