Commit Graph

32 Commits

Author SHA1 Message Date
David Paz b59d73c039 Hide error when no origin in git repo
Fix git ls-remote call to match as in sugessted code for redirect
error to null.
2017-02-24 10:12:35 +01:00
Ben Hilburn 3a3238444d Merge pull request #360 from davidmpaz/icon_by_repo
Display different icons depending on remote type in VCS segment.
2016-12-21 10:22:13 -05:00
David Paz f2cac2273a Assign git service icon depending on repo origin
Check git origin url to search for well know services. Return
proper icon if service found, if not return "git" icon from
font-awesome icon set
2016-12-15 13:08:21 +01:00
Ben Hilburn 3326353b10 Merge branch 'master' into next 2016-10-26 11:08:53 -04:00
Matt Traynham bddbdd62e8 Fix '+vi-svn-detect-changes:local:1: not valid in this context' 2016-10-19 09:35:23 -04:00
Ben Hilburn 3f1f11a1f1 bugfix: typo in "POWERLEVEL9K" broke the VCS tag display 2016-09-26 13:54:43 -04:00
Ben Hilburn 683ca10e36 vcs: adding detection of unstaged / staged for svn repos 2016-08-30 20:44:07 -04:00
Christian Rebischke 3b0da2c348 fixed svn-detect-changes().. the svn prompt has now the same behaviour as the git prompt.. 2016-08-30 20:41:51 -04:00
Christian Rebischke e134c70bc1 swapped half and full dirty in svn-detect-changes 2016-08-30 20:41:51 -04:00
Christian Rebischke 62e41ada1f added vi-svn-detect-changes() in functions/vcs.zsh 2016-08-30 20:41:51 -04:00
Ben Hilburn 3291b4d476 Merging ability to hide tags from VCS segment. 2016-07-12 20:28:01 -04:00
Chris Hudson ef2d01a2aa Added POWERLEVEL9K_VCS_HIDE_TAGS variable to control displaying of vcs tags in segment 2016-07-07 22:40:26 +01:00
Dominik Ritter 7b2e995299 Fix truncation of changeset in detached tag mode 2016-04-17 18:03:31 +02:00
Ben Hilburn a09eda6774 Fixing comments in vi-git
-tagname
2016-04-12 10:54:10 -04:00
Ben Hilburn 0f4e3e7588 git-tagname: Now showing hash/branchname when sitting on a tag 2016-04-12 10:43:34 -04:00
Ben Hilburn 6fde7bf3fd git-tagname: reducing conditionals in logic 2016-04-12 10:42:34 -04:00
Niccolò Maggioni 14e213bd68
Weird conditions handling
Become a programmer, they said. It'll be fun, they said.
2016-04-11 23:02:58 +02:00
Niccolò Maggioni ce16b087c6
Avoid tag/branch duplication if same value 2016-04-11 21:37:28 +02:00
Niccolò Maggioni 1ab41d9a6c
Better DETACHED_HEAD detection 2016-03-25 10:51:33 +01:00
Niccolò Maggioni 4fdf5df258
Documentation 2016-03-22 18:24:34 +01:00
Niccolò Maggioni 89fefbdf6e
DETACHED_HEAD handling 2016-03-22 17:51:01 +01:00
Niccolò Maggioni b46a96a7ce
Git tag not replacing branch 2016-03-22 17:29:34 +01:00
Dominik Ritter cb5d33affb Fix untracked state of the vcs segment 2016-02-26 15:53:14 +01:00
Dominik Ritter a1ef6548d5 Fix dynamic coloring of VCS segment
The VCS segment had a lot of own color definitions. Now they are all
gone, so that the only color definitions are when the segment gets
printed.
2016-02-18 18:27:32 +01:00
Ben Hilburn 94c87a4d23 Reflect submodule status in VCS prompty by default. 2016-02-17 17:09:54 -08:00
Sebastien Varrette 52982e3f63 mention to git_compare_version
Signed-off-by: Sebastien Varrette <Sebastien.Varrette@uni.lu>
2016-02-09 14:22:47 +01:00
Sebastien Varrette 0fd9d277f9 correct half-dirty detection -- restrict to untracked files
Signed-off-by: Sebastien Varrette <Sebastien.Varrette@uni.lu>
2016-02-09 14:09:33 +01:00
Sebastien Varrette 56bc1b3f47 dirty check even in subdirs
Signed-off-by: Sebastien Varrette <Sebastien.Varrette@uni.lu>
2016-02-08 17:14:28 +01:00
theminor 3b7dfff7ea Add VCS_WORKDIR_HALF_DIRTY vrbl for unstaged files 2016-01-26 17:20:20 -05:00
Dominik Ritter b9cb32f4a7 Removed whitespace before git tag. 2016-01-07 22:17:21 +01:00
Dominik Ritter ac4502ca1f Added the "visual identifier" concept to the `vcs` segment. 2015-12-18 00:47:37 +01:00
Dominik Ritter 2b8cb5b9a4 Extracted VCS-hooks into a separate file. 2015-10-24 00:05:15 +02:00