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

195 commits

Author SHA1 Message Date
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
Dominik Ritter
ed28b8d26f Use explicit word splitting. No need to set SH_WORD_SPLIT 2016-01-23 01:45:39 +01:00
Dominik Ritter
6763826c4e More space for the Beanstalk-Icon. 2016-01-23 01:34:48 +01:00
James Bowman
af119c9406 Adding command prompt for AWS Elastic Beanstalk environment name. 2016-01-23 01:34:01 +01:00
Dominik Ritter
6aadf76397 Split up ram segment into ram and swap. 2016-01-23 01:27:05 +01:00
rjorgenson
f1486620e7 added space to end of RVM icon 2016-01-16 18:03:31 -07:00
Kayant
cf921fb90c Add sub folder icon when in home subdirectories
Big thanks to @dritter for guidance, @rjorgenson for great explanation.
And @bhilburn for further guidance and encouragement.
See http://i.imgur.com/2Vncypo.png for a presentation of how it looks.
2016-01-16 01:08:52 +00:00
MrTuxHdb
a97fa07cc5 [FIX] RUBY_ICON should be $'\UF219' 2016-01-14 13:05:07 -08: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
46aafc797a Some icons are visual identifiers now, so they shouldn't control the
margin to the text (which is whitespace).
2015-12-15 02:34:23 +01:00
Dominik Ritter
7151036198 Removed unecessary variable. 2015-12-15 01:59:46 +01:00
Dominik Ritter
a09a4b8dd5 Added a folder icon for "awesome-fontconfig" mode. Thx to @tritlo 2015-11-28 10:57:50 +01:00
Dominik Ritter
c10bac90ba In Awesome-Mode either print a home-icon or a folder icon, depending in which directory the user is. 2015-11-28 00:03:07 +01:00
Matthías Páll Gissurarson
231cfda809 added icon to be able to set the end of the prompt explicitly 2015-11-19 01:04:52 +01:00
Dominik Ritter
f9957ca559 Used typeset to define the local array. This does the trick on linux. 2015-11-17 18:34:18 +01:00
Dominik Ritter
ce7b99cdaf Added a mechanism to make deprecated segments visible to the user. 2015-11-17 01:39:49 +01:00
Dominik Ritter
0fa635275c Extracted color functions to a separate file. 2015-10-24 01:05:37 +02:00
Dominik Ritter
2b8cb5b9a4 Extracted VCS-hooks into a separate file. 2015-10-24 00:05:15 +02:00
Dominik Ritter
d6584e13da Extracted icons into a separate file. 2015-10-23 23:42:59 +02:00
Dominik Ritter
fbd1b99bab Renamed "power-utilities.zsh" to just "utilities.zsh". 2015-10-23 23:39:50 +02:00
Dominik Ritter
23f86afeb3 Merge branch 'next' into color_detection 2015-10-22 10:10:15 +02:00
Dominik Ritter
5addfdc9e0 Moved utility-functions to "functions/power-utilities.zsh". 2015-10-19 17:37:18 +02:00