aboutsummaryrefslogtreecommitdiff
path: root/functions/utilities.zsh
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into nextBen Hilburn2017-08-121-1/+1
|\
| * Fix empty delimiterDominik Ritter2017-07-121-1/+1
| | | | | | | | | | Even if the delimiter is empty, the min length should be 1. This fixes #558
* | Icons for Windows/Cygwin + Refixes 32-bit supportguixxx2017-05-071-0/+4
|/
* Converting timer start time to hexBen Hilburn2017-04-191-1/+1
|
* Improve logicguixxx2017-04-191-9/+8
|
* Adds Android icon/battery plugin supportguixxx2017-04-191-0/+9
| | | | Plus fixes bhilburn/powerlevel9k#479, which was causing integer overflow on 32-bit CPUs
* More possibilities with truncate folder markerBenoit Averty2017-02-011-8/+9
|
* Add dir_truncate_root optionBenoit Averty2017-02-011-0/+15
|
* Consider delimiter length in dir truncate rightArav Singhal2016-10-271-1/+3
| | | | | | | | | | | Truncating the path from the right now takes in account the delimiter length, so that directories with names shorter than truncated name + delimiter are displayed properly. For example, if SHORTEN_DIR_LENGTH is 4 and the delimiter is "..", "../tests/.." and "../custom/.." are not incorrectly "truncated" to "../test../.." and "../cust../..", both of which are longer or the same length as the original.
* Improved speed of `prompt_vcs` by 50%-66%.Ben Hilburn2016-08-311-1/+15
|
* Apply max dir length to package name shortenerAlex LaFroscia2016-03-221-0/+6
|
* Merge pull request #212 from dritter/unit_testingBen Hilburn2016-02-181-0/+3
|\ | | | | Adding Unit Tests, supported by Travis-CI
| * Add documentation for printSizeHumanReadableDominik Ritter2016-02-121-0/+3
| |
* | Fix joining segmentsDominik Ritter2016-02-061-2/+2
|/
* Joining conditional segments now work as expected. If between the lastDominik Ritter2016-01-231-0/+49
| | | | | | printed segment is a full but conditional segment, the joined one gets promoted. This fixes #186
* Use explicit word splitting. No need to set SH_WORD_SPLITDominik Ritter2016-01-231-4/+4
|
* Used typeset to define the local array. This does the trick on linux.Dominik Ritter2015-11-171-1/+2
|
* Added a mechanism to make deprecated segments visible to the user.Dominik Ritter2015-11-171-0/+15
|
* Extracted color functions to a separate file.Dominik Ritter2015-10-241-48/+0
|
* Extracted icons into a separate file.Dominik Ritter2015-10-241-23/+1
|
* Renamed "power-utilities.zsh" to just "utilities.zsh".Dominik Ritter2015-10-241-0/+190