1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-11 08:00:06 +00:00
Commit graph

72 commits

Author SHA1 Message Date
Ben Hilburn
352ad4d608 Merge branch 'master' into next 2016-10-27 11:00:18 -04:00
Ben Hilburn
fd9c998f02 Merge pull request #333 from eviltak/dir-truncate-right-with-delim-len
Consider delimiter length while right truncating directories
2016-10-27 10:59:55 -04:00
Arav Singhal
1edb74ba91 Consider delimiter length in dir truncate right
Truncating the path from the right now takes in account the delimiter
length, so that directories with names shorter than truncated name +
delimiter are displayed properly.

For example, if SHORTEN_DIR_LENGTH is 4 and the delimiter is "..",
"../tests/.." and "../custom/.." are not incorrectly "truncated" to
"../test../.." and "../cust../..", both of which are longer or the same
length as the original.
2016-10-27 13:01:02 +05:30
Ben Hilburn
3326353b10 Merge branch 'master' into next 2016-10-26 11:08:53 -04:00
Ben Hilburn
790230e1c7 Merge pull request #326 from mtraynham/fix_svn_detect_changes
Fix '+vi-svn-detect-changes:local:1: not valid in this context'
2016-10-26 09:49:33 -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
bsidhipong
ef1e2c99b6 Changed \u and \U to reflect number of hex digits to follow
Some unicode icon strings were set with \uHHHHH which showed the wrong
characters on some implementations of zsh (linux and macOS).  Changed
\uHHHHH to \UHHHHH and conversely changed \UHHHH to \uHHHH.
2016-10-16 22:28:43 -05:00
Ben Hilburn
3f1f11a1f1 bugfix: typo in "POWERLEVEL9K" broke the VCS tag display 2016-09-26 13:54:43 -04:00
Ben Hilburn
c4fdc8f708 Improved speed of prompt_vcs by 50%-66%. 2016-08-31 10:35:05 -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
Ben Hilburn
b893d66a46 Merge branch 'next' of https://github.com/Xetius/powerlevel9k into xetius-vcs-hide-tags 2016-07-12 20:17:25 -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
Marin Gilles
f50ac9edd8 Changed python icon to snake 2016-06-23 07:51:02 +02:00
Thuan (Duong Tien)
ec25e3b3af [ADD] PYTHON_ICON 2016-05-04 21:16:16 +07:00
Ben Hilburn
511bbcf124 Merge pull request #247 from orhanbalci/next
rust icon added to rust segment
2016-04-19 15:23:43 -04:00
orhanbalci
67dce19024 whitespace fix 2016-04-19 22:08:11 +03:00
orhanbalci
c991553fb2 empty rust icon for patched mode 2016-04-17 21:51:34 +03:00
Dominik Ritter
7b2e995299 Fix truncation of changeset in detached tag mode 2016-04-17 18:03:31 +02:00
orhanbalci
72315fdc59 rust icon added 2016-04-16 23:46:32 +03: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
Ben Hilburn
3ee1f419c7 Merge branch 'next' of https://github.com/nmaggioni/powerlevel9k into nmaggioni-next 2016-04-12 08:53:25 -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
Ben Hilburn
aec9d95295 Merge pull request #229 from alexlafroscia/add-package-name-shortening-strategy
Add shortening strategy based on package.json name
2016-04-11 15:16:37 -04: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
Alex LaFroscia
4ca6938801 Apply max dir length to package name shortener 2016-03-22 13:14:10 -04: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
sabricot
3c95feb0bd Add a docker machine segment 2016-03-06 18:25:17 +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
Ben Hilburn
64d81a2b36 Merge pull request #212 from dritter/unit_testing
Adding Unit Tests, supported  by Travis-CI
2016-02-17 15:39:55 -08:00
Dominik Ritter
d7a0f49391 Add documentation for printSizeHumanReadable 2016-02-12 01:18:35 +01: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
Dominik Ritter
e9da3d5146 Fix joining segments 2016-02-06 20:07:42 +01:00
Ben Hilburn
4bbff138fb Merging @theminor's changes from PR #204 2016-02-05 10:59:33 -08:00
Ben Hilburn
4897c795fa Merge branch 'master' into next 2016-02-05 10:57:56 -08:00
Ben Hilburn
25bf6d60a0 Merge pull request #181 from dritter/split_up_ram_segment
Split up `ram` segment into `ram` and `swap`.
2016-02-05 10:37:28 -05:00
theminor
3b7dfff7ea Add VCS_WORKDIR_HALF_DIRTY vrbl for unstaged files 2016-01-26 17:20:20 -05:00
Dominik Ritter
15665a4f95 Joining conditional segments now work as expected. If between the last
printed segment is a full but conditional segment, the joined one gets
promoted.
This fixes #186
2016-01-23 01:45:39 +01:00