Commit graph

14 commits

Author SHA1 Message Date
Dominik Ritter
83ad5b598e Add test for wrong truncation if switching back to home folder
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
2018-03-20 22:39:20 +01:00
Ben Hilburn
9f4faf7f21 Merge pull request #596 from eumiro/truncate_to_unique
Add TRUNCATE_TO_UNIQUE shortening dir strategy
2017-08-12 13:52:10 -04:00
Ben Hilburn
02332d5962 Merge branch 'master' into next 2017-08-12 13:46:08 -04:00
Miroslav Šedivý
73a9ee7c87 add TRUNCATE_TO_UNIQUE shortening dir strategy
This creates the shortest unique path elements that can be unambiguously expanded to the original path.
2017-08-11 22:44:18 +02:00
Christian Höltje
0fded47ab5 Added test for POWERLEVEL9K_HOME_FOLDER_ABBREVIATION 2017-07-12 00:54:30 -04:00
Dominik Ritter
a234636982 Fix empty delimiter
Even if the delimiter is empty, the min length should be 1.
This fixes #558
2017-07-12 03:29:31 +02:00
Dominik Ritter
44eaa0ef33 Add tests for truncate_with_package_name strategy of dir segment
This is a backport from #344
2017-03-08 14:57:24 -05:00
Ben Hilburn
36d74f34c2 Merge branch 'next' into dir_first_character 2017-02-13 20:21:33 -05:00
Dominik Ritter
6e1259ee99 Remove unnecessary variable from tests 2017-02-13 00:22:29 +01:00
Dominik Ritter
8e99944797 Add test for truncate_with_folder_marker truncation strategy 2017-02-05 14:53:31 +01:00
Dominik Ritter
b6e55c189e Add tests for omitting first character in dir segment 2017-02-04 11:46:29 +01:00
Dominik Ritter
3d451499aa Fix tests 2017-02-04 11:46:22 +01:00
Arav Singhal
8d7a4e462a Update test for required behavior 2016-10-27 13:23:22 +05:30
Dominik Ritter
7cf46711cc Add tests for the dir segment 2016-02-13 19:23:30 +01:00