ad2e4f0bccAdded 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.
Dominik Ritter
2015-12-16 19:26:27 +0100
cd5b4d0debAdded the "state" concept to the `dir` segment.
Dominik Ritter
2015-12-15 03:21:24 +0100
056d4ff29aOnly check for a user defined variable if we really have an visual identifier.
Dominik Ritter
2015-12-15 02:43:42 +0100
409303f45dAdded the "visual identifier" concept to the `rbenv` segment.
Dominik Ritter
2015-12-15 02:36:57 +0100
4fc59fd57cAdded the "visual identifier" concept to the `node_version` segment.
Dominik Ritter
2015-12-15 02:36:02 +0100
46aafc797aSome icons are visual identifiers now, so they shouldn't control the margin to the text (which is whitespace).
Dominik Ritter
2015-12-15 02:34:23 +0100
1d0f47fb97Bugfix: the default should be a pure color, not a full ZSH color modifier.
Dominik Ritter
2015-12-15 02:20:11 +0100
78d22ba309Interesting: 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.
Dominik Ritter
2015-12-15 01:31:55 +0100
6f7d6f7259For left aligned segments start the foreground color after the visual identifier has been printed.
Dominik Ritter
2015-12-15 01:21:15 +0100
c5726bc548Added the "visual identifier" concept to the `todo` segment.
Dominik Ritter
2015-12-15 01:07:38 +0100
d514b077d0Added the "visual identifier" concept to the `rvm` segment.
Dominik Ritter
2015-12-15 01:05:42 +0100
fd0fcba5e9Added the "visual identifier" concept to the `node_version` segment.
Dominik Ritter
2015-12-15 01:02:55 +0100
35b1cb5b8dAdded the "visual identifier" concept to the `load` segment.
Dominik Ritter
2015-12-15 01:01:34 +0100
bb5cca9af7Added the "visual identifier" concept to the `ip` segment.
Dominik Ritter
2015-12-15 00:59:39 +0100
d5d5acb490Added the "visual identifier" concept to the `dir` segment.
Dominik Ritter
2015-12-15 00:58:36 +0100
e505c0698eAdded the "visual identifier" concept to the `aws` segment.
Dominik Ritter
2015-12-15 00:57:24 +0100
1194826ef4Used the new "visual identifier" concept for the battery segment.
Dominik Ritter
2015-12-15 00:55:55 +0100
0c528461fbAllow users to overwrite the color for the visual identifier only.
Dominik Ritter
2015-12-15 00:55:24 +0100
036433dd53Segments now can have "visual identifiers" which are basically just special icons.
Dominik Ritter
2015-12-15 00:41:02 +0100
5a4de1d274Split up the `status` segment into a `background_jobs`, `root_indicator` and `status` segment. This fixes#163
Dominik Ritter
2015-12-13 12:41:49 +0100
0059f9a066Merge pull request #154 from dritter/hotfix/utility_function_loading
Ben Hilburn
2015-12-12 16:23:04 -0800
df153db93bMerge pull request #157 from dritter/battery_rework
Ben Hilburn
2015-12-12 16:21:14 -0800
424f47249dMerge pull request #160 from dritter/home_icon_fix
Ben Hilburn
2015-12-01 13:27:42 -0800
8c71a28a77The script location should only be set once!
Dominik Ritter
2015-11-28 19:45:49 +0100
0dc36ee614We need to always evaluate the path for the home/folder icon mechanism to work correctly.
Dominik Ritter
2015-11-28 11:11:10 +0100
a09a4b8dd5Added a folder icon for "awesome-fontconfig" mode. Thx to @tritlo
Dominik Ritter
2015-11-28 10:57:50 +0100
b01588e2f9File might be a symlink.
Dominik Ritter
2015-11-28 01:56:26 +0100
46575182c7Fallback mechanism is now more robust. If does not matter if the user specified a file or a directory in `POWERLEVEL9K_INSTALLATION_PATH`.
Dominik Ritter
2015-11-28 01:33:33 +0100
972e24ad41Added more checks to find the installation dir. Now we try to find prezto automatically and print a nice warning as a fallback.
Dominik Ritter
2015-11-28 01:26:24 +0100
c10bac90baIn Awesome-Mode either print a home-icon or a folder icon, depending in which directory the user is.
Dominik Ritter
2015-11-28 00:03:07 +0100
3fea92369fMerge pull request #153 from Tritlo/custom_string
Ben Hilburn
2015-11-24 15:27:07 -0800
b8d7d1387eBy default: set verbose mode on.
Dominik Ritter
2015-11-25 00:26:10 +0100
08a3b49d73Merge pull request #155 from dritter/hotfix/go_version_fix
Ben Hilburn
2015-11-24 15:23:03 -0800
23e2a54067Added a verbose mode.
Dominik Ritter
2015-11-25 00:21:20 +0100
91e9fb865cMerge pull request #156 from dritter/node_cleanup
Ben Hilburn
2015-11-24 15:20:28 -0800
323610cebfMore 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.
Dominik Ritter
2015-11-24 18:36:56 +0100
3437c7850cBattery icon is already defined in the icons-array.
Dominik Ritter
2015-11-24 18:31:22 +0100
c8137fcf1aPre-Grep the raw data to save some memory and to avoid cluttering up the output of `setopt xtrace` too much.
Dominik Ritter
2015-11-24 18:17:04 +0100
da2b8e342eArithmetics in ZSH 101: If you want to calculate a percentage, multiply the numerator with 100 _before_ the devision. With that method there is no need for hacks to convert the numerator into a float.
Dominik Ritter
2015-11-23 18:10:09 +0100
239aa29a12Better use of test flags.
Dominik Ritter
2015-11-23 00:48:59 +0100
8d72b5eb12Renamed variable "conn" to "icon_color"
Dominik Ritter
2015-11-23 00:42:15 +0100
b316089c6bMake use of set_default method for better code readability.
Dominik Ritter
2015-11-23 00:12:52 +0100
c0efe9c342Performance improvement: Avoid aggregation of data over and over again by extracting a local variable.
Dominik Ritter
2015-11-23 00:11:19 +0100
7774294113Performance improvement by calculating the battery percentage with zsh.
Dominik Ritter
2015-11-23 00:09:37 +0100
49a3a3e750The `nvm` segment should use the standard node icon (rather than defining an own icon).
Dominik Ritter
2015-11-22 00:04:55 +0100
351dc84320Fix for the GO version.
Dominik Ritter
2015-11-21 23:20:38 +0100
df51db1412added a segment to be able to display the result of a custom command.
Matthías Páll Gissurarson
2015-11-18 23:45:22 +0100
727b3e501bNow the script just returns instead of exiting with an errorcode. The reason for this is that users can't log in anymore if the specified a wrong path in POWERLEVEL9K_INSTALLATION_PATH and the script `exit`s. With `return` not the whole shell is terminated, so users get an ugly prompt, but are still able to modify .zshrc.
Dominik Ritter
2015-11-21 21:29:20 +0100
a0323b7e80The installation path of powerlevel9k is now configurable by setting the variable POWERLEVEL9K_INSTALLATION_PATH. The value must be set to the exact location of the powerlevel9k.zsh-theme file (including the file name). This has only effect if you load your theme as a function and your ZSH version is below 5.0.8.
Dominik Ritter
2015-11-21 21:26:50 +0100
0aaf999857For ZSH 5.0.8 `whence -v` tells also the path to the command. In that case we can use that information to get a proper path to the utility functions.
Dominik Ritter
2015-11-21 21:04:58 +0100
1eadf5ad76Merge pull request #152 from Tritlo/battery_fix
Ben Hilburn
2015-11-20 16:29:40 -0800
951a4956fcMerge pull request #150 from Tritlo/prompt_end
Ben Hilburn
2015-11-20 16:23:20 -0800
36fa3f2277fix some issues with the battery segment
Matthías Páll Gissurarson
2015-11-18 21:34:07 +0100
231cfda809added icon to be able to set the end of the prompt explicitly
Matthías Páll Gissurarson
2015-11-17 21:18:31 +0100
e79a2ffff0Merge pull request #149 from Tritlo/master
Ben Hilburn
2015-11-18 10:54:21 -0800
b83cfd7515Merge pull request #143 from dritter/segment_deprecation_helpers
Ben Hilburn
2015-11-17 12:54:06 -0800
85fd338d36Merge pull request #144 from dritter/changelog_additions
Ben Hilburn
2015-11-17 12:52:46 -0800
47eb8f10acadded variable to have rprompt on the newline
Matthías Páll Gissurarson
2015-11-17 20:06:49 +0100
f9957ca559Used typeset to define the local array. This does the trick on linux.
Dominik Ritter
2015-11-17 18:34:18 +0100
009b0e51a2Added the new rust segment and the changes to the rvm-segment to changelog.
Dominik Ritter
2015-11-17 01:41:44 +0100
ce7b99cdafAdded a mechanism to make deprecated segments visible to the user.
Dominik Ritter
2015-11-17 01:39:49 +0100
9b067ea29cMerge pull request #142 from dritter/rust_version
Ben Hilburn
2015-11-16 09:10:58 -0800
77c31e17d1Merge pull request #141 from dritter/improve_rvm_performance
Ben Hilburn
2015-11-16 09:04:48 -0800
c81863e234Add an Identifier to version.
Dominik Ritter
2015-10-01 17:35:11 +0200
5d314bec8eAdd segment for rust version.
Dominik Ritter
2015-09-30 20:12:47 +0200
643555a30cHuge performance improvement if you use `rvm` segment. Thanks to @rjorgenson for the hint.
Dominik Ritter
2015-11-15 23:35:15 +0100
0673352e7eMerge branch 'master' into next
Ben Hilburn
2015-11-13 09:49:39 -0800
6d3899b6e3Merge pull request #139 from sdupille/master
Ben Hilburn
2015-11-13 09:48:53 -0800
2e8f00342aMerge pull request #112 from dritter/color_detection
Ben Hilburn
2015-11-13 09:47:17 -0800
81a4b3907dGet terminal capabilities using a zsh builtin for portability
Stéphane Dupille
2015-11-13 12:06:03 +0100
04319d3a95Merge pull request #136 from dritter/hotfix/131-key-fixes
Ben Hilburn
2015-11-12 09:58:23 -0800
eef5286005Issue #131: This fixes history-substring-search, home and end keys.
Dominik Ritter
2015-11-11 22:00:19 +0100
538d8b8fa8Bugfix for prezto: In prezto the theme gets called by function (via zstyle). In that case we hardcode the path to the theme as there seems no way to find the location so that we can source our other functions.
Dominik Ritter
2015-11-07 16:32:48 +0100
0ff3b3660eMerge pull request #134 from dritter/changelog_added
Ben Hilburn
2015-11-04 11:13:31 -0800
3afbd5e994Added a CHANGELOG.
Dominik Ritter
2015-11-04 19:53:56 +0100
29693f957dIf the theme-file is linked, dereference that link and source the right functions.
Dominik Ritter
2015-11-04 00:40:11 +0100
0fa635275cExtracted color functions to a separate file.
Dominik Ritter
2015-10-24 01:05:37 +0200
2b8cb5b9a4Extracted VCS-hooks into a separate file.
Dominik Ritter
2015-10-24 00:05:15 +0200
d6584e13daExtracted icons into a separate file.
Dominik Ritter
2015-10-23 23:42:59 +0200
fbd1b99babRenamed "power-utilities.zsh" to just "utilities.zsh".
Dominik Ritter
2015-10-23 23:39:50 +0200
23f86afeb3Merge branch 'next' into color_detection
Dominik Ritter
2015-10-22 10:10:15 +0200
e8771a7039Merge branch 'master' into next
Ben Hilburn
2015-10-21 16:59:59 -0700
b2e6beec51Merge pull request #123 from martinpelikan/master
Ben Hilburn
2015-10-21 16:54:10 -0700
84681d4cc1Merge pull request #126 from rjorgenson/next
Ben Hilburn
2015-10-21 16:53:32 -0700
981c85af39Merge pull request #127 from dritter/go_prompt
Ben Hilburn
2015-10-21 16:51:44 -0700
43d8b34a21Merge pull request #128 from DanielGGordon/master
Ben Hilburn
2015-10-21 16:50:38 -0700
15670379edMerge pull request #129 from dritter/ram_prompt
Ben Hilburn
2015-10-21 16:50:03 -0700