Commit Graph
20 Commits
Author SHA1 Message Date
Felipe ContrerasandGitHub 6f9650d940 fix(gitfast): update to git-completion 1.3.6 (#10633) 2022-01-28 13:45:05 +01:00
Felipe ContrerasandGitHub e92a4667cb feat(gitfast): update to git-completion 1.2 (#9458)
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2020-11-19 19:45:19 +01:00
Felipe ContrerasandGitHub d055445625 gitfast: fetch latest fixes from git-completion (#9390)
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2020-10-27 11:14:39 +01:00
Felipe ContrerasandGitHub 66f9fdabc1 gitfast: improve command aliases (#9385)
So that compdefs with dashes work as well as underscores:

  compdef _git gc=git_commit

Or:

  compdef _git gc=git-commit

The official Zsh Git completion uses dashes, and this way people don't
have to change their existing definitions.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2020-10-24 16:33:43 +02:00
Felipe ContrerasandGitHub a32564e0ae gitfast: update to latest upstream and more (#9382) 2020-10-24 14:12:23 +02:00
Felipe ContrerasandGitHub 0736a3749a gitfast: proper synchronization (#8550) 2020-05-05 20:32:52 +02:00
Felipe ContrerasandMarc Cornellà d69bad8eb4 gitfast: downgrade to upstream v2.16 (#7918)
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2019-06-08 16:33:56 +02:00
Felipe ContrerasandMarc Cornellà eb3d463081 gitfast: update to upstream v2.21 (#7914)
* gitfast: use $OSTYPE again

In the last update to upstream this was reverted:

 a56eac7a (Use OSTYPE instead of uname whenever possible for better speed. (#5496))

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>

* gitfast: simplify plugin

No need to set and unset a variable we use once.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>

* gitfast: add script to update from upstream

This would make easier the process of updating, and also not miss our
patches.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>

* gitfast: update to upstream v2.21

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2019-06-07 17:57:46 +02:00
Felipe Contreras 36e29fbc19 completion: zsh: improve main function selection
Sometimes we want to use the function directly (e.g. _git_checkout), for
example when zsh has the option 'complete_aliases', this way, we can do
something like:

  compdef _git gco=git_checkout

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2016-05-19 23:53:47 -05:00
Felipe Contreras 079fef48df gitfast: fix the prompt colour
We can add colour in Zsh without the need of pcmode.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2016-05-19 23:53:40 -05:00
Felipe Contreras eec3dc607c gitfast: update to upstream v2.8
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2016-05-19 23:27:30 -05:00
Felipe Contreras 169cd8b6ca gitfast: update to upstream v2.4
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2016-05-18 03:07:09 -05:00
Felipe Contreras 0b5d18a247 gitfast: update to upstream v2.0
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2016-05-17 20:27:18 -05:00
Felipe Contreras 5918d9100b gitfast: back-port prompt fix
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2014-04-21 21:13:06 -05:00
Felipe Contreras 6a5c8fb81b gitfast: update to upstream v1.9.2
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2014-04-21 21:11:49 -05:00
Felipe Contreras 9ebdbec589 gitfast: update to upstream v1.8.4
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-08-23 22:00:11 -05:00
Felipe Contreras c944f8b465 gitfast: fix prompt
Certain themes need the 'clean' mark, and some people like to have the
'dirty' one, just like the original git_promp_info().

We probably shouldn't be modifying that function, there's no other clean
way to achieve our own status information, so let's try to emulate the
original as much as possible.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-04-21 02:57:05 -05:00
Felipe Contreras 72a8c08cc8 gitfast: synchronize with upstream
Up to version 1.8.2.1.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-04-21 02:57:05 -05:00
Felipe Contreras d615f64374 git: fix parse_git_dirty()
If oh-my-zsh.hide-status is configured, the 'clean' code won't be
generated, and some themes might end up distorted. Let's generate the
'clean' code even when we don't want the show the dirty status.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2013-04-21 02:56:39 -05:00
Felipe Contreras 5a11228e93 Add gifast plugin
Using the upstream git completion and prompt stuff.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2012-11-22 17:45:37 +01:00