aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add comment line above battery-threshold conditionTim Otlik2018-05-121-1/+1
|
* rename variable to POWERLEVEL9K_BATTERY_HIDE_ABOVE_THRESHOLDTim Otlik2018-05-091-1/+1
| | | | | Variable now holds an integer, if your battery status is greater or equal to this integer the segment will be hidden
* remove duplicate code in battery segmentTim Otlik2018-05-091-29/+20
|
* add new option "POWERLEVEL9K_BATTERY_HIDE_FULL"Tim Otlik2018-05-081-7/+20
| | | | Hides the battery segment if percentage hits 100%
* Merge pull request #791 from dritter/local_variablesBen Hilburn2018-04-143-6/+9
|\ | | | | Make variables local
| * Make _path variable local in anaconda segmentDominik Ritter2018-03-281-1/+1
| |
| * Make variables localDominik Ritter2018-03-273-5/+8
| |
* | Merge pull request #780 from sambadevi/nextBen Hilburn2018-03-262-14/+54
|\ \ | |/ |/| update icons for nerd-fonts 2.0.0
| * add compatible to the list of fontconfigsTim Otlik2018-03-201-0/+5
| |
| * fixed missing icons for other fontconfigsTim Otlik2018-03-201-0/+15
| |
| * update icons for nerd-fonts 2.0.0Tim Otlik2018-03-202-14/+34
|/
* **LARGE MERGE THAT TOUCHES LOTS OF THINGS.**Ben Hilburn2018-03-074-78/+456
|\ | | | | | | | | From this point until the next tagged release, `next` will be in a state of heavy flux as we make some significant and invasive changes.
| * Merge branch 'dir_strategies' of ↵Ben Hilburn2018-03-074-78/+456
| |\ | | | | | | | | | https://github.com/onaforeignshore/powerlevel9k into onaforeignshore-dir_strategies
| | * Updated testing for folder iconsChristo Kotze2018-02-231-4/+3
| | |
| | * Added POWERLEVEL9K_DIR_PATH_ABSOLUTE to README.mdChristo Kotze2018-02-232-2/+3
| | |
| | * Updated test for POWERLEVEL9K_DIR_PATH_ABSOLUTEChristo Kotze2018-02-231-2/+2
| | |
| | * Added new variable POWERLEVEL9K_DIR_PATH_ABSOLUTEChristo Kotze2018-02-232-3/+16
| | | | | | | | | | | | | | | | | | If user sets POWERLEVEL9K_DIR_PATH_ABSOLUTE to true, uses absolute paths instead of home folder abbreviation, e.g. /Users/chris/... instead of ~/...
| | * Fixed typo - ~= instead of !=Christo Kotze2018-02-231-1/+1
| | |
| | * Added test for root based folder to first&lastChristo Kotze2018-02-231-1/+2
| | |
| | * Updated dir.spec test for first_and_lastChristo Kotze2018-02-231-1/+1
| | |
| | * Added truncate_to_first_and_last strategyChristo Kotze2018-02-233-29/+63
| | | | | | | | | | | | | | | Truncate middle directories from the path. How many directories will be untouched is controlled by POWERLEVEL9K_SHORTER_DIR_LENGTH.
| | * Updated README dir truncation strategiesChristo Kotze2018-02-231-1/+3
| | | | | | | | | | | | | | | | | | Added `truncate_to_last` Added `truncate_absolute` Moved `truncate_to_unique` before folder marker
| | * Updated dir.spec testsChristo Kotze2018-02-221-1/+1
| | |
| | * Update to truncate_absoluteChristo Kotze2018-02-221-1/+1
| | |
| | * Removed final SEDs and more commentsChristo Kotze2018-02-222-21/+40
| | |
| | * Comments, trunc_to_last, trunc_absoluteChristo Kotze2018-02-222-42/+106
| | | | | | | | | | | | | | | | | | | | | Added comments throughout the code Added `truncate_to_last` - displays only the current folder Added `truncate_absolute` - displays only the last POWERLEVEL9K_SHORTER_DIR_LENGTH characters - see #736
| | * Missed one variable name changeChristo Kotze2018-02-221-1/+1
| | | | | | | | | | | | There's always that one pesky variable name you forget to change...
| | * All code should now be functionalChristo Kotze2018-02-221-1/+1
| | | | | | | | | | | | *Fingers crossed*
| | * Updated test for trunc_to_uniqueChristo Kotze2018-02-221-4/+4
| | | | | | | | | | | | | | | Instead of testing for number of folders, now only tests if string is longer than 1 character.
| | * Fixed silly coding errorChristo Kotze2018-02-221-5/+3
| | | | | | | | | | | | Did `local 3=...` instead of `3=...`
| | * Update for TravisChristo Kotze2018-02-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While zsh accepts the following code: ``` local paths=(${(s:/:)${1//"~\/"/}}) ``` Travis fails unless it is ``` local paths=$1 paths=(${(s:/:)${paths//"~\/"/}}) ```
| | * Updated truncatePath()Christo Kotze2018-02-221-6/+7
| | | | | | | | | | | | Added variable `delim_len` with test when delim=""
| | * Another Travis testChristo Kotze2018-02-201-1/+2
| | |
| | * Another change to test TravisChristo Kotze2018-02-191-3/+3
| | |
| | * Changed path splitting to test TravisChristo Kotze2018-02-191-3/+3
| | |
| | * Updated path splitting lineChristo Kotze2018-02-191-1/+1
| | | | | | | | | | | | Works in the console, but Travis doesn't like it.
| | * Fixed error in codingChristo Kotze2018-02-191-2/+1
| | | | | | | | | | | | Shouldn't code when tired lol.
| | * Forgot to update code when creating new funcChristo Kotze2018-02-191-2/+3
| | |
| | * Added truncatePath to utilities.zshChristo Kotze2018-02-192-60/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added `function truncatePath()` to utilities.zsh to take care of truncation. This is pure zsh code, without calls to `sed`. Parameters are: * $1 Path: string - the directory path to be truncated * $2 Length: integer - length to truncate to * $3 Delimiter: string - the delimiter to use * $4 From: string - "right" | "middle". If omited, assumes right. Cleaned up code to use the new function instead.
| | * Improved truncation codeChristo Kotze2018-02-191-2/+2
| | |
| | * Updated truncate_to_uniqueChristo Kotze2018-02-181-2/+3
| | |
| | * Updated code for testingChristo Kotze2018-02-181-30/+30
| | |
| | * Added / for non-home foldersChristo Kotze2018-02-181-0/+2
| | |
| | * Rewrote trunc middle/right to use for loopChristo Kotze2018-02-181-47/+41
| | |
| | * Fixed another typo - shouldn't code when sick :pChristo Kotze2018-02-181-1/+1
| | |
| | * Fixed typoChristo Kotze2018-02-181-1/+1
| | |
| | * Added test for dir_length == trunc_lengthChristo Kotze2018-02-181-1/+1
| | |
| | * Updated truncate_from_right testChristo Kotze2018-02-181-3/+2
| | |
| | * Changed current_dir - Test Travis responseChristo Kotze2018-02-181-2/+3
| | |
| | * Fix issue with SHORTEN_DELIMChristo Kotze2018-02-171-3/+6
| | | | | | | | | | | | | | | If `$POWERLEVEL9K_SHORTEN_DELIMITER` is a unicode escape sequence, its length is 6 instead of 1. Added variable to hold actual character(s)