Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
git-completion 1.2 released
- X-seq: zsh-users 26189
- From: Felipe Contreras <felipe.contreras@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: git-completion 1.2 released
- Date: Thu, 19 Nov 2020 10:05:31 -0600
- Archived-at: <https://zsh.org/users/26189>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2020-11/CAMP44s00vgMW2n8Yp63T91-d1XUMc0Tesmc%2BykU%2BWURokysq_w%40mail.gmail.com>
- Authentication-results: zsh.org; iprev=pass (mail-wr1-f48.google.com) smtp.remote-ip=209.85.221.48; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=AYWgQuo5IYmJ0Xw9je9xXmUty73zJMuLM228vudf7aM=; b=emnfK17gQSVKBCZEnh66xSYZ5f/uH1tdpmZlAUqv/YHFzZkCAYOUh/VikumYbv+vK0 A4oKCmDI0bOZpu6ECbyMGaL/+lCyr0hv6XXXUa09LHFm84WRwq4xNUsEp6fAiaHWHPvg jkFkXmUg4RSNOaIJPxOi4Zs8BM1BpGjmFQUwDkdK8YLIdNqlJk+1VxELafKIZ5kEfgam 20bAEh/7bmRbZvaw1oUC5l4JvqG8WEYdh9pdpuxmrEWmP4zORiypHDE8jkv/eAWA7Ijc HKQ1NrevHqPeh/BDpfZhS+p50gbX6zFOX7vjkXa/vWMZGzN21YAFX0506XadNU8seSKd fj8w==
- List-archive: <http://www.zsh.org/sympa/arc/zsh-users>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-users.zsh.org>
- List-owner: <mailto:zsh-users-request@zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-users>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-users>
- Sender: zsh-users-request@xxxxxxx
Hello,
Git-completion is a friendly fork of the official Git completion and
prompt scripts for Zsh and Bash.
The main goal is to provide a more up-to-date completion for Zsh (I'm
the developer), which is basically just a wrapper around the Bash
completion.
Compared to Git upstream, you get many benefits for Zsh, for example:
no extra unnecessary spaces, correct auto suffix removal, colors
without PROMPT_COMMAND, custom aliases, fixed --no-options, and many
more.
If you use the official Zsh completion the main benefit is that it's
blazingly fast. Simply doing "git log <tab>" on the Linux kernel (with
3k+ refs) takes several seconds on the official Zsh completion (about
3 seconds on my machine), with git-complete it's *instantaneous*.
There's other benefits too. Since the Bash completion is actively
maintained by Git developers, everything works as they intend too.
For example "git send-email <tab>" correctly completes branches, as
opposed to files in the Zsh official completion. Also, complex aliases
such as '!f () { }; f' are correctly identified and completed
out-of-the-box.
It's a sister project of the Oh My Zsh gitfast plugin [1], which I maintain too.
Since the last version a testing framework was added, and now all the
completion tests of the Git project pass with the Zsh wrapper too [2].
For installation instructions, and more information, check the wiki
[3], but basically.
* make install
* fpath=(~/.local/share/git-completion/zsh $fpath)
Enjoy.
[1] https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/gitfast
[2] https://travis-ci.org/github/felipec/git-completion
[3] https://github.com/felipec/git-completion/wiki/Zsh
--
Felipe Contreras
Messages sorted by:
Reverse Date,
Date,
Thread,
Author