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

1015 commits

Author SHA1 Message Date
Niklas Heer
3441f750bf used set_default-function instead 2015-12-31 19:04:26 +01:00
Niklas Heer
f472ba7341 added a new variable POWERLEVEL9K_SHORTEN_DELIMITER to specifiy the delimiter 2015-12-31 15:57:56 +01:00
Niklas Heer
2fdbd6158c added fishe-like shortening strategy 2015-12-30 15:49:23 +01:00
Dominik Ritter
e9ef0429e4 More consistent visual identifiers. Now even segments that just have an
icon as content print these icons as visual identifiers. Some of these
segments have a verbose mode. If this verbose mode is false, some print
just the icon (like the battery segment), which didn't work correctly
before this change.
2015-12-29 13:46:07 +01:00
Ben Hilburn
4437e539e9 Merge pull request #165 from dritter/battery_visual_identifier
Adding ability for segments to be combined.
2015-12-22 12:40:53 -08:00
Dominik Ritter
4e751e9771 Merge branch 'next' into battery_visual_identifier 2015-12-22 20:48:56 +01:00
Ben Hilburn
e8c477235c Merge pull request #164 from dritter/status_color_fix
Split up the `status` segment
2015-12-22 10:21:14 -08:00
Dominik Ritter
d5a8211aa1 Merge branch 'battery_visual_identifier' of github.com:dritter/powerlevel9k into battery_visual_identifier 2015-12-18 01:07:22 +01:00
Dominik Ritter
2a519ee2d7 Merge branch 'status_color_fix' into battery_visual_identifier 2015-12-18 00:59:04 +01:00
Dominik Ritter
ac4502ca1f Added the "visual identifier" concept to the vcs segment. 2015-12-18 00:47:37 +01:00
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