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

1705 commits

Author SHA1 Message Date
Dominik Ritter
5cfd800585 Added the "visual identifier" concept to the symfony2_version segment. 2015-12-17 18:24:35 +01:00
Dominik Ritter
045f451e4e Added the "visual identifier" concept to the symfony2_tests and
`rspec_stats` segments.
2015-12-17 18:22:34 +01:00
Dominik Ritter
b738ba900c Added the "visual identifiers" concept to the ram segment. 2015-12-17 18:17:06 +01:00
Dominik Ritter
7ed0abebd6 Little VCS segment cleanup. 2015-12-17 10:51:52 +01:00
Dominik Ritter
0cb1c0ffda Changed the order of default segments. 2015-12-17 10:48:11 +01:00
Dominik Ritter
f73de77c2e Typo. 2015-12-17 10:40:15 +01:00
Dominik Ritter
bd5955221e Removed trailing whitespace. 2015-12-16 22:23:47 +01:00
Dominik Ritter
ffa9336144 Remove trailing whitespaces from CHANGELOG. 2015-12-16 20:20:16 +01:00
Dominik Ritter
33d20cb7f2 Added changelog. 2015-12-16 20:19:50 +01:00
Dominik Ritter
ad2e4f0bcc Added ability to join segments together. You always join a segment
with the previous one. Just add "_joined" to the segment name in
your `POWERLEVEL9K_LEFT_PROMPT_ELEMENTS`-array.

Developers: Be aware that the order of parameters given to
left/right_prompt_segment has changed!
2015-12-16 19:26:27 +01:00
Dominik Ritter
cd5b4d0deb Added the "state" concept to the dir segment. 2015-12-15 03:21:24 +01:00
Dominik Ritter
056d4ff29a Only check for a user defined variable if we really have an visual
identifier.
2015-12-15 02:43:42 +01:00
Dominik Ritter
409303f45d Added the "visual identifier" concept to the rbenv segment. 2015-12-15 02:36:57 +01:00
Dominik Ritter
4fc59fd57c Added the "visual identifier" concept to the node_version segment. 2015-12-15 02:36:02 +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
1d0f47fb97 Bugfix: the default should be a pure color, not a full ZSH color
modifier.
2015-12-15 02:20:11 +01:00
Dominik Ritter
78d22ba309 Interesting: We don't need to swap the whitespaces if the visual
identifier should be rendered on the right side, because the terminal
gets printed from left to right and the double width characters need
their "print me right"-whitespaces on the right side anyways.
2015-12-15 02:08:59 +01:00
Dominik Ritter
6f7d6f7259 For left aligned segments start the foreground color after the visual
identifier has been printed.
2015-12-15 02:08:59 +01:00
Dominik Ritter
c5726bc548 Added the "visual identifier" concept to the todo segment. 2015-12-15 02:08:59 +01:00
Dominik Ritter
d514b077d0 Added the "visual identifier" concept to the rvm segment. 2015-12-15 02:08:59 +01:00
Dominik Ritter
fd0fcba5e9 Added the "visual identifier" concept to the node_version segment. 2015-12-15 02:08:59 +01:00
Dominik Ritter
35b1cb5b8d Added the "visual identifier" concept to the load segment. 2015-12-15 02:02:14 +01:00
Dominik Ritter
bb5cca9af7 Added the "visual identifier" concept to the ip segment. 2015-12-15 02:02:14 +01:00
Dominik Ritter
d5d5acb490 Added the "visual identifier" concept to the dir segment. 2015-12-15 02:02:14 +01:00
Dominik Ritter
e505c0698e Added the "visual identifier" concept to the aws segment. 2015-12-15 01:59:46 +01:00
Dominik Ritter
1194826ef4 Used the new "visual identifier" concept for the battery segment. 2015-12-15 01:59:46 +01:00
Dominik Ritter
0c528461fb Allow users to overwrite the color for the visual identifier only. 2015-12-15 01:59:46 +01:00
Dominik Ritter
036433dd53 Segments now can have "visual identifiers" which are basically just
special icons.
2015-12-15 01:59:46 +01:00
Dominik Ritter
21f80e4da7 Removed trailing whitespaces. 2015-12-15 01:59:46 +01:00
Dominik Ritter
7151036198 Removed unecessary variable. 2015-12-15 01:59:46 +01:00
Dominik Ritter
5a4de1d274 Split up the status segment into a background_jobs, root_indicator and status segment.
This fixes #163
2015-12-13 12:43:40 +01:00
Ben Hilburn
0059f9a066 Merge pull request #154 from dritter/hotfix/utility_function_loading
Try to fetch the utility function path automatically
2015-12-12 16:23:04 -08:00
Ben Hilburn
df153db93b Merge pull request #157 from dritter/battery_rework
Performance improvement of battery segment
2015-12-12 16:21:14 -08:00
Ben Hilburn
424f47249d Merge pull request #160 from dritter/home_icon_fix
Adding Home / Folder icon for awesome font modes.
2015-12-01 13:27:42 -08:00
Dominik Ritter
8c71a28a77 The script location should only be set once! 2015-11-28 19:45:49 +01:00
Dominik Ritter
0dc36ee614 We need to always evaluate the path for the home/folder icon mechanism to work correctly. 2015-11-28 11:11:10 +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
b01588e2f9 File might be a symlink. 2015-11-28 01:56:26 +01:00
Dominik Ritter
46575182c7 Fallback mechanism is now more robust. If does not matter if the user specified a file or a directory in POWERLEVEL9K_INSTALLATION_PATH. 2015-11-28 01:33:33 +01:00
Dominik Ritter
972e24ad41 Added more checks to find the installation dir. Now we try to find prezto automatically and print a nice warning as a fallback. 2015-11-28 01:26:24 +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
Ben Hilburn
3fea92369f Merge pull request #153 from Tritlo/custom_string
Adding a segment that can execute a custom command.
2015-11-24 15:27:07 -08:00
Dominik Ritter
b8d7d1387e By default: set verbose mode on. 2015-11-25 00:26:10 +01:00
Ben Hilburn
08a3b49d73 Merge pull request #155 from dritter/hotfix/go_version_fix
Fix for the GO segment.
2015-11-24 15:23:03 -08:00
Dominik Ritter
23e2a54067 Added a verbose mode. 2015-11-25 00:21:20 +01:00
Ben Hilburn
91e9fb865c Merge pull request #156 from dritter/node_cleanup
Cleaning up the `node` segment.
2015-11-24 15:20:28 -08:00
Dominik Ritter
323610cebf More structure to the battery segment: Now there is a concept of "states" that a battery can have. That makes the code much clearer and users could adjust the colors of these states as they want. 2015-11-25 00:06:03 +01:00
Dominik Ritter
3437c7850c Battery icon is already defined in the icons-array. 2015-11-24 18:31:22 +01:00
Dominik Ritter
c8137fcf1a Pre-Grep the raw data to save some memory and to avoid cluttering up the output of setopt xtrace too much. 2015-11-24 18:17:04 +01:00
Dominik Ritter
dad38b0592 Better code structure. 2015-11-24 02:36:37 +01:00