1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-30 15:20:08 +00:00
Commit graph

96 commits

Author SHA1 Message Date
Dominik Ritter
81fd69ae98 Update shunit2 to newest version 2018-08-04 17:34:52 +02:00
Dominik Ritter
518148383e Fix Test for context segment
This fixes an error on travis, because there is no sudo allowed. We
could allow it, but I think it is better to mock sudo anyway.
2018-07-31 01:02:24 +02:00
Dominik Ritter
3b0397d1a6 Fix test for background_jobs segment 2018-07-25 07:58:38 +02:00
Dominik Ritter
06de83cc0f Prepare tests for performance optimizations 2018-07-25 07:52:06 +02:00
Dominik Ritter
4972f0b8eb Improve tests by making use of local variables 2018-07-24 16:24:33 +02:00
Dominik Ritter
16e5e14af7 Fix tests on older ZSH versions 2018-07-19 22:39:19 +02:00
Dominik Ritter
2fa2e7560f Remove vcs.spec
There are now specific tests for git and hg
2018-07-19 21:49:06 +02:00
Dominik Ritter
7bfa471e41 Fix tests for dir segment on OSX 2018-07-19 21:47:29 +02:00
Dominik Ritter
7a7b4ee13a Merge remote-tracking branch 'ben/master' into add_tests 2018-07-19 07:44:16 +02:00
Dominik Ritter
a5d9227fcb Add tests for vi_mode segment 2018-07-19 07:42:47 +02:00
Dominik Ritter
d13410d38c Fix tests for nvm segment 2018-07-19 07:40:58 +02:00
Dominik Ritter
aa5e9ccc3b Add tests for vcs (hg) segment 2018-07-18 22:28:28 +02:00
Dominik Ritter
ad0c9a6802 Add tests for vcs (git) segment 2018-07-18 22:28:08 +02:00
Dominik Ritter
0d4004ef19 Add tests for todo segment 2018-07-18 22:27:44 +02:00
Dominik Ritter
84f327bd60 Add tests for symfony_version segment 2018-07-18 22:27:23 +02:00
Dominik Ritter
78e03a5fe6 Add tests for swift segment 2018-07-18 22:27:03 +02:00
Dominik Ritter
af31b2de9b Add tests for swap segment 2018-07-18 22:26:39 +02:00
Dominik Ritter
e51faa0af1 Add tests for ssh segment 2018-07-18 22:25:35 +02:00
Dominik Ritter
cc31a05c52 Add test for ram segment 2018-07-18 22:25:06 +02:00
Dominik Ritter
1e71d452e1 Add tests for public_ip segment 2018-07-18 22:23:32 +02:00
Dominik Ritter
e95f84a55d Add tests for php_version segment 2018-07-18 22:23:12 +02:00
Dominik Ritter
084f992fab Add tests for nvm segment 2018-07-18 22:22:17 +02:00
Dominik Ritter
44ec267dfb Add tests for nodeenv segment 2018-07-18 22:21:48 +02:00
Dominik Ritter
85cc62b72b Add tests for node_version segment 2018-07-18 22:21:27 +02:00
Dominik Ritter
2efbd7e188 Add tests for load segment 2018-07-18 22:20:50 +02:00
Dominik Ritter
1cf68e418c Add tests for ip segment 2018-07-18 22:19:14 +02:00
Dominik Ritter
a757607476 Add tests for disk_usage segment 2018-07-18 22:16:40 +02:00
Dominik Ritter
edfd4732f2 Add tests for detect_virt segment 2018-07-18 22:15:57 +02:00
Dominik Ritter
829c7ceaae Add tests for custom segment 2018-07-18 22:13:52 +02:00
Dominik Ritter
743ddc1253 Add tests for context segment 2018-07-18 22:11:51 +02:00
Dominik Ritter
d9b3edf0e8 Fix go_version test 2018-07-16 22:16:41 +02:00
Dominik Ritter
802af322ff Add tests for battery segment
Additionally
- Add a fourth parameter to prompt_battery for better testability. This
  parameter is the root prefix, so we can use our own test batteries.
2018-07-16 20:48:27 +02:00
Dominik Ritter
74a3d2d6e2 Add tests for background_jobs segment 2018-07-16 20:47:15 +02:00
Dominik Ritter
8c44fa68a2 Add tests for aws_eb_env segment 2018-07-16 20:46:23 +02:00
Dominik Ritter
0e4e9e4256 Add tests for anaconda segment 2018-07-16 20:46:00 +02:00
Dominik Ritter
d502d05f08 Add tests for status segment 2018-07-13 00:41:35 +02:00
Dominik Ritter
dc21b97335 Fix travis build 2018-06-07 02:36:30 +02:00
Dominik Ritter
0257159e1e Add tests for laravel version segment to travis 2018-06-07 01:54:32 +02:00
Dominik Ritter
d9d9fb9b6b Merge remote-tracking branch 'ytang/fix-icons-cut-off' into staging_065
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.
2018-06-07 01:51:16 +02:00
Dominik Ritter
d3500625ca Merge remote-tracking branch 'TheDan64/master' into staging_065
Conflicts were:
- test/segments/rust_version.spec and powerlevel9k.zsh-theme. #826
removes grep from parsing the rust version on next; #703 changes color
names.
2018-06-07 01:00:57 +02:00
Dominik Ritter
e763fa14b0 Merge remote-tracking branch 'chhschou/master' into staging_065
Conflicts were:
- powerlevel9k.zsh-theme and test/segments/rust_version.spec:
rust_version Segment changed (#641) on master and colors got
names (#703) on next.
2018-06-07 00:44:47 +02:00
Dominik Ritter
154e923033 Merge remote-tracking branch 'floor114/next' into staging_065 2018-06-06 23:52:15 +02:00
Dominik Ritter
55473c450a Merge branch 'master' into staging_065
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.
2018-06-06 23:40:37 +02:00
Yang Tang
5e0b924346 Update unit tests for fixing icons cut off 2018-06-01 13:34:52 -04:00
Dominik Ritter
27bd1cd65d Fix test for rust segment 2018-05-12 23:17:49 +02:00
Daniel Kolsoi
9b0e0c786a Removed 'Rust' text from test; Silenced missing rustc warning 2018-05-09 23:37:32 -04:00
Taras Shpachenko
111d152d48 Add vcs branch name truncating. 2018-04-12 18:11:23 +03:00
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
Christo Kotze
75a763f901 Updated test for POWERLEVEL9K_DIR_PATH_ABSOLUTE 2018-02-23 10:12:56 +04:00
Christo Kotze
ddcdad77a7 Added new variable POWERLEVEL9K_DIR_PATH_ABSOLUTE
If user sets POWERLEVEL9K_DIR_PATH_ABSOLUTE to true, uses absolute paths
instead of home folder abbreviation, e.g. /Users/chris/... instead of
~/...
2018-02-23 10:08:43 +04:00