romkatv
c3990c53a9
render VCS_GIT_ICON and the like as segment visual identifiers instead of embedding them in the content
5 years ago
Carlos Álvaro
a8c759e4af
Add space between remote icon and commit hash
5 years ago
romkatv
2d877f95fd
fix POWERLEVEL9K_SHORTEN_DELIMITER
6 years ago
🐈
d1fbc1b889
Hide errors from git ls-files
6 years ago
Matthew Judy
574ee6dc1c
Port #1071 to `master` (fatal errors emitted by untracked file check in vcs.zsh)
6 years ago
Dominik Ritter
fd660f4b92
Fix checking for untracked files
...
Now the untracked files are always checked from
the root folder of the repo.
6 years ago
Dominik Ritter
a6e60def4b
Fix stashes display
...
Changing directories while checking for untracked files broke
the display of git stashes. The hook was not called any more.
This is why we disabled checking for untracked files within a
.git folder.
6 years ago
Dominik Ritter
645b974677
Fix error if user cds into a .git directory
...
In this case is was previously not possible to get the untracked
status. Now we temporarily change the directory to the repo root
folder and then get the list of untracked files.
6 years ago
Dominik Ritter
a90258a9ee
Avoid warning when inside of .git dir
...
We cannot detect untracked files when we are inside of
a .git directory.
6 years ago
Dominik Ritter
3256258ebf
Count stashes via ZSH
6 years ago
Dominik Ritter
2038e2650c
Avoid aliases
6 years ago
Dominik Ritter
48f0cc11ef
Get rid of externals when truncating branch name
6 years ago
Dominik Ritter
c3f9d04354
When checking for untracked or modified files, take submodules into account
6 years ago
Dominik Ritter
44b4b66925
Speedup VCS segment
...
Now the untracked files are detected via `git ls-files`, which is
much faster than `git status`. Additionally, we flipped the default
for checking submodules. They are now NOT checked by default, as most
users probably do not use git submodules.
6 years ago
Dominik Ritter
d07507c1eb
Make use of git dir determined by VCS_INFO subsystem
...
instead of determine the git dir manually.
6 years ago
Dominik Ritter
9a67ca5bc3
Get branch name from VCS_INFO subsystem when collecting remote branch
6 years ago
Dominik Ritter
fea5f616d1
Get branch name from VCS_INFO subsystem when collecting ahead/behind info
6 years ago
Dominik Ritter
cd0ad84b01
Get rid of wc dependency when showing ahead/behind info
6 years ago
Dominik Ritter
154e923033
Merge remote-tracking branch 'floor114/next' into staging_065
7 years ago
Dominik Ritter
45ae153700
Merge remote-tracking branch 'guicassolato/fix-wrapper-slowness' into staging_065
...
Conflicts were:
- functions/vcs.zsh: Two commits avoided wrapper behaviour. #685
in grep, #797 in git.
7 years ago
Taras Shpachenko
111d152d48
Add vcs branch name truncating.
7 years ago
Guilherme Cassolato
1aee125470
Fixes wrapper slowness in vcs segment
7 years ago
Tim Otlik
bba8bb883e
add check of /etc/os-release for linux distros
7 years ago
Ben Hilburn
ea05b4ebe6
Merge branch 'master' into next
7 years ago
Daniel Porter
cbc7199dc4
Add Stash naming support for Bitbucket Server
7 years ago
Kentaro Hayashi
f154e75667
Disable alias of grep
...
If user defined alias of grep command with '-r' or '--recursive'
option, it causes a slow response of command line. It is not
unexpected behavior of vcs info.
This commit explicitly disables alias of grep to suppress side
effects.
7 years ago
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.
8 years ago
Ben Hilburn
3a3238444d
Merge pull request #360 from davidmpaz/icon_by_repo
...
Display different icons depending on remote type in VCS segment.
8 years ago
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
8 years ago
Ben Hilburn
3326353b10
Merge branch 'master' into next
8 years ago
Matt Traynham
bddbdd62e8
Fix '+vi-svn-detect-changes:local:1: not valid in this context'
8 years ago
Ben Hilburn
3f1f11a1f1
bugfix: typo in "POWERLEVEL9K" broke the VCS tag display
8 years ago
Ben Hilburn
683ca10e36
vcs: adding detection of unstaged / staged for svn repos
8 years ago
Christian Rebischke
3b0da2c348
fixed svn-detect-changes().. the svn prompt has now the same behaviour as the git prompt..
8 years ago
Christian Rebischke
e134c70bc1
swapped half and full dirty in svn-detect-changes
8 years ago
Christian Rebischke
62e41ada1f
added vi-svn-detect-changes() in functions/vcs.zsh
8 years ago
Ben Hilburn
3291b4d476
Merging ability to hide tags from VCS segment.
8 years ago
Chris Hudson
ef2d01a2aa
Added POWERLEVEL9K_VCS_HIDE_TAGS variable to control displaying of vcs tags in segment
8 years ago
Dominik Ritter
7b2e995299
Fix truncation of changeset in detached tag mode
9 years ago
Ben Hilburn
a09eda6774
Fixing comments in vi-git
...
-tagname
9 years ago
Ben Hilburn
0f4e3e7588
git-tagname: Now showing hash/branchname when sitting on a tag
9 years ago
Ben Hilburn
6fde7bf3fd
git-tagname: reducing conditionals in logic
9 years ago
Niccolò Maggioni
14e213bd68
Weird conditions handling
...
Become a programmer, they said. It'll be fun, they said.
9 years ago
Niccolò Maggioni
ce16b087c6
Avoid tag/branch duplication if same value
9 years ago
Niccolò Maggioni
1ab41d9a6c
Better DETACHED_HEAD detection
9 years ago
Niccolò Maggioni
4fdf5df258
Documentation
9 years ago
Niccolò Maggioni
89fefbdf6e
DETACHED_HEAD handling
9 years ago
Niccolò Maggioni
b46a96a7ce
Git tag not replacing branch
9 years ago
Dominik Ritter
cb5d33affb
Fix untracked state of the vcs segment
9 years ago
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.
9 years ago