aboutsummaryrefslogtreecommitdiff
path: root/test/segments/dir.spec
Commit message (Collapse)AuthorAgeFilesLines
* remove most thingsromkatv2019-03-011-789/+0
|
* Add testsDominik Ritter2019-02-021-0/+18
|
* Merge branch 'master' into fix-rprompt-icons-cut-offYang Tang2018-10-121-217/+341
|\
| * Fix testsDominik Ritter2018-08-171-41/+41
| |
| * Merge branch 'fix_colors' into prepare_066Dominik Ritter2018-08-091-5/+5
| |\
| | * Fix testsDominik Ritter2018-08-091-5/+5
| | |
| * | Merge branch 'fix_colors' into prepare_066Dominik Ritter2018-08-081-41/+41
| |\|
| | * Fix testsDominik Ritter2018-08-081-40/+40
| | |
| * | Update shunit2 to newest versionDominik Ritter2018-08-041-1/+1
| | |
| * | Prepare tests for performance optimizationsDominik Ritter2018-07-251-7/+153
| | |
| * | Improve tests by making use of local variablesDominik Ritter2018-07-241-173/+143
| | |
| * | Fix tests for dir segment on OSXDominik Ritter2018-07-191-1/+9
| |/
* / Fix icons cut off in RPROMPT segmentsYang Tang2018-08-221-5/+5
|/
* Merge remote-tracking branch 'ytang/fix-icons-cut-off' into staging_065Dominik Ritter2018-06-071-5/+5
|\ | | | | | | | | | | | | | | Conflicts were: - test/segments/command_execution_time.spec and test/segments/go_version.spec: All conflicts come from renaming color names on next (#703) and adding a whitespace to the Visual Identifier (#854) on master.
| * Update unit tests for fixing icons cut offYang Tang2018-06-011-5/+5
| |
* | Merge branch 'master' into staging_065Dominik Ritter2018-06-071-0/+21
|\| | | | | | | | | | | | | | | | | | | | | Conflicts were: - README.md: Two commits targeted the brightness table. #781 from 14. April 2018 on master and #684 from 05. December 2017 on next. - powerlevel9k.zsh-theme: Two commits targeted the rbenv segment. Both achieve the same thing: To show the Ruby version number always. #795 on next from 14. April 2018 and #610 on master from 28. September 2017. I went with #795 here as this - although being newer - is the one on master, and that should be more stable.
| * Add test for wrong truncation if switching back to home folderDominik Ritter2018-03-211-0/+21
| | | | | | | | | | | | | | | | This happens if a user switches from a subdirectory of $HOME back to the home folder and truncation strategy is "truncate folders from left". Then the folder is displayed as .../~ PR: #773
* | Updated test for POWERLEVEL9K_DIR_PATH_ABSOLUTEChristo Kotze2018-02-231-2/+2
| |
* | Added new variable POWERLEVEL9K_DIR_PATH_ABSOLUTEChristo Kotze2018-02-231-0/+10
| | | | | | | | | | | | If user sets POWERLEVEL9K_DIR_PATH_ABSOLUTE to true, uses absolute paths instead of home folder abbreviation, e.g. /Users/chris/... instead of ~/...
* | Updated dir.spec test for first_and_lastChristo Kotze2018-02-231-1/+1
| |
* | Added truncate_to_first_and_last strategyChristo Kotze2018-02-231-0/+18
| | | | | | | | | | Truncate middle directories from the path. How many directories will be untouched is controlled by POWERLEVEL9K_SHORTER_DIR_LENGTH.
* | Updated dir.spec testsChristo Kotze2018-02-221-1/+1
| |
* | Comments, trunc_to_last, trunc_absoluteChristo Kotze2018-02-221-30/+66
| | | | | | | | | | | | | | 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
* | Added tests for DIR_PATH_SEPARATOR_FOREGROUNDChristo Kotze2018-02-141-5/+29
| |
* | Updated testBoldRootSubsubdirWorks()Christo Kotze2018-02-141-0/+2
| | | | | | | | Forgot to initialize the bolding variable
* | Added tests for other folder highlighingChristo Kotze2018-02-141-3/+79
| |
* | Added test for Home folder highlightingChristo Kotze2018-02-141-0/+12
| |
* | Updating Travis tests for bold dirChristo Kotze2018-02-141-23/+41
| |
* | Updated tests for resetting boldChristo Kotze2018-02-111-22/+22
|/ | | | | Updated tests to include the `%b%K{blue}%F{black}` or similar. TODO: Still have to create a test for a bolded last segment
* Merge pull request #596 from eumiro/truncate_to_uniqueBen Hilburn2017-08-121-0/+21
|\ | | | | Add TRUNCATE_TO_UNIQUE shortening dir strategy
| * add TRUNCATE_TO_UNIQUE shortening dir strategyMiroslav Šedivý2017-08-111-0/+21
| | | | | | | | This creates the shortest unique path elements that can be unambiguously expanded to the original path.
* | Merge branch 'master' into nextBen Hilburn2017-08-121-0/+20
|\|
| * Fix empty delimiterDominik Ritter2017-07-121-0/+20
| | | | | | | | | | Even if the delimiter is empty, the min length should be 1. This fixes #558
* | Added test for POWERLEVEL9K_HOME_FOLDER_ABBREVIATIONChristian Höltje2017-07-121-0/+25
|/
* Add tests for `truncate_with_package_name` strategy of dir segmentDominik Ritter2017-03-081-0/+106
| | | | This is a backport from #344
* Merge branch 'next' into dir_first_characterBen Hilburn2017-02-141-0/+42
|\
| * Remove unnecessary variable from testsDominik Ritter2017-02-131-4/+0
| |
| * Add test for truncate_with_folder_marker truncation strategyDominik Ritter2017-02-051-0/+46
| |
* | Add tests for omitting first character in `dir` segmentDominik Ritter2017-02-041-0/+103
| |
* | Fix testsDominik Ritter2017-02-041-16/+11
|/
* Update test for required behaviorArav Singhal2016-10-271-1/+1
|
* Add tests for the dir segmentDominik Ritter2016-02-131-0/+118