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
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
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
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
Dominik Ritter
da2b8e342e
Arithmetics 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.
2015-11-23 18:10:09 +01:00
Dominik Ritter
239aa29a12
Better use of test flags.
2015-11-23 00:48:59 +01:00
Dominik Ritter
8d72b5eb12
Renamed variable "conn" to "icon_color"
2015-11-23 00:42:15 +01:00
Dominik Ritter
b316089c6b
Make use of set_default method for better code readability.
2015-11-23 00:12:52 +01:00
Dominik Ritter
c0efe9c342
Performance improvement: Avoid aggregation of data over and over again by extracting a local variable.
2015-11-23 00:11:19 +01:00
Dominik Ritter
7774294113
Performance improvement by calculating the battery percentage with zsh.
2015-11-23 00:09:37 +01:00