Commit Graph

516 Commits (df153db93b93f8a134adbace1a2409a25ec5f1d9)
 

Author SHA1 Message Date
Ben Hilburn df153db93b Merge pull request from dritter/battery_rework
Performance improvement of battery segment
Ben Hilburn 424f47249d Merge pull request from dritter/home_icon_fix
Adding Home / Folder icon for awesome font modes.
Dominik Ritter 0dc36ee614 We need to always evaluate the path for the home/folder icon mechanism to work correctly.
Dominik Ritter a09a4b8dd5 Added a folder icon for "awesome-fontconfig" mode. Thx to @tritlo
Dominik Ritter c10bac90ba In Awesome-Mode either print a home-icon or a folder icon, depending in which directory the user is.
Ben Hilburn 3fea92369f Merge pull request from Tritlo/custom_string
Adding a segment that can execute a custom command.
Dominik Ritter b8d7d1387e By default: set verbose mode on.
Ben Hilburn 08a3b49d73 Merge pull request from dritter/hotfix/go_version_fix
Fix for the GO segment.
Dominik Ritter 23e2a54067 Added a verbose mode.
Ben Hilburn 91e9fb865c Merge pull request from dritter/node_cleanup
Cleaning up the `node` segment.
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.
Dominik Ritter 3437c7850c Battery icon is already defined in the icons-array.
Dominik Ritter c8137fcf1a Pre-Grep the raw data to save some memory and to avoid cluttering up the output of `setopt xtrace` too much.
Dominik Ritter dad38b0592 Better code structure.
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.
Dominik Ritter 239aa29a12 Better use of test flags.
Dominik Ritter 8d72b5eb12 Renamed variable "conn" to "icon_color"
Dominik Ritter b316089c6b Make use of set_default method for better code readability.
Dominik Ritter c0efe9c342 Performance improvement: Avoid aggregation of data over and over again by extracting a local variable.
Dominik Ritter 7774294113 Performance improvement by calculating the battery percentage with zsh.
Dominik Ritter 4b636d226e Renamed variable.
Dominik Ritter 49a3a3e750 The `nvm` segment should use the standard node icon (rather than defining an own icon).
Dominik Ritter 351dc84320 Fix for the GO version.
Matthías Páll Gissurarson df51db1412 added a segment to be able to display the result of a custom command.
Ben Hilburn 1eadf5ad76 Merge pull request from Tritlo/battery_fix
Battery segment fix and enhancement.
Ben Hilburn 951a4956fc Merge pull request from Tritlo/prompt_end
Add icon for end of left prompt.
Matthías Páll Gissurarson 36fa3f2277 fix some issues with the battery segment
Matthías Páll Gissurarson 231cfda809 added icon to be able to set the end of the prompt explicitly
Ben Hilburn e79a2ffff0 Merge pull request from Tritlo/master
Now allowing the RPROMPT to be on a newline.
Ben Hilburn b83cfd7515 Merge pull request from dritter/segment_deprecation_helpers
Added segment deprecation helper
Ben Hilburn 85fd338d36 Merge pull request from dritter/changelog_additions
Added the new rust segment and the changes to the rvm-segment to changelog
Matthías Páll Gissurarson 47eb8f10ac added variable to have rprompt on the newline
Dominik Ritter f9957ca559 Used typeset to define the local array. This does the trick on linux.
Dominik Ritter 009b0e51a2 Added the new rust segment and the changes to the rvm-segment to changelog.
Dominik Ritter ce7b99cdaf Added a mechanism to make deprecated segments visible to the user.
Ben Hilburn 9b067ea29c Merge pull request from dritter/rust_version
Added Rust version segment.
Ben Hilburn 77c31e17d1 Merge pull request from dritter/improve_rvm_performance
Huge performance improvement if you use `rvm` segment.
Dominik Ritter 37113bc120 Added documentation.
Dominik Ritter c81863e234 Add an Identifier to version.
Dominik Ritter 5d314bec8e Add segment for rust version.
Dominik Ritter 643555a30c Huge performance improvement if you use `rvm` segment.
Thanks to @rjorgenson for the hint.
Ben Hilburn 0673352e7e Merge branch 'master' into next
Ben Hilburn 6d3899b6e3 Merge pull request from sdupille/master
Get terminal capabilities using a zsh builtin for portability
Ben Hilburn 2e8f00342a Merge pull request from dritter/color_detection
Moved many sub-functions out of main theme file. Also improved color detection.
Stéphane Dupille 81a4b3907d Get terminal capabilities using a zsh builtin for portability
Ben Hilburn 04319d3a95 Merge pull request from dritter/hotfix/131-key-fixes
Issue : This fixes history-substring-search, home and end keys.
Dominik Ritter eef5286005 Issue : This fixes history-substring-search, home and end keys.
Dominik Ritter 538d8b8fa8 Bugfix 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.
Ben Hilburn 0ff3b3660e Merge pull request from dritter/changelog_added
Adding a CHANGELOG
Dominik Ritter 3afbd5e994 Added a CHANGELOG.