1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-24 13:10:07 +00:00
Commit graph

2975 commits

Author SHA1 Message Date
Dominik Ritter
3c991f902c Make Travis use XCode9.4 2018-08-05 22:26:17 +02:00
Dominik Ritter
e7cbcc5187 Fix tests 2018-08-04 22:57:06 +02:00
Dominik Ritter
81fd69ae98 Update shunit2 to newest version 2018-08-04 17:34:52 +02:00
Christian Höltje
7f6ac8dbac Use SUDO_COMMAND to check for sudo
`sudo -n true` only checks that we _could_ use `sudo`, not if we are in
a sudo session.

closes #852
2018-07-31 16:22:26 -04: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
99f0eddd62 Add tests for nerdfont-complete icons 2018-07-24 16:34:10 +02:00
Dominik Ritter
4972f0b8eb Improve tests by making use of local variables 2018-07-24 16:24:33 +02:00
Dominik Ritter
822b820a6e Improve guide for testing 2018-07-24 01:22:19 +02:00
Dominik Ritter
345cf87b8f Add missing colors to fix color comparison
Added magenta and cyan that were only present with their alternative
names (fuchsia and aqua). See https://en.wikipedia.org/wiki/X11_color_names#Clashes_between_web_and_X11_colors_in_the_CSS_color_scheme
2018-07-24 00:51:37 +02:00
xufab
acaf8c6087
Missing etc state for the dir segment in docs 2018-07-24 00:37:24 +02:00
Ben Hilburn
571a859413
Merge pull request #912 from brandon14/laravel_pormpt_fix
[Bugfix] Fix error in laravel_version when artisan is not present
2018-07-23 14:34:00 -04:00
Brandon Clothier
9739c68894
Missed a parenthesis here. 2018-07-22 21:55:44 -04:00
Dominik Ritter
ebd4414c29 Fix trimming of whitespace in debug/font-issues.zsh 2018-07-23 02:16:03 +02:00
Dominik Ritter
f89a5bb365 Fix debug/font-issues.zsh
- Add trim function
- Make our $OS and neofetchs $os compatible
2018-07-22 17:17:28 +02:00
Ythildir
5ce384fb31 Test more readable 2018-07-22 00:21:59 +02:00
Ythildir
e39e024e74 Resolve #918 Transparent background
Now function getColorCode consider value 'none' like a good value.
When it's use to set background the segment become transparent
2018-07-21 22:52:08 +02:00
Dominik Ritter
856071716e Fix font issue debugging script 2018-07-21 00:37:06 +02:00
Dominik Ritter
17229ddad7 Add tests for general prompt functionality 2018-07-21 00:01:21 +02:00
Dominik Ritter
f6087199f9 Add tests for visual identifier 2018-07-20 22:12:18 +02:00
Dominik Ritter
84c8ddce70 Drop support for ZSH < 5.1 2018-07-20 21:16:42 +02:00
Dominik Ritter
a8d7cee786 Add tests for joining segments 2018-07-20 19:15:40 +02:00
Dominik Ritter
16e5e14af7 Fix tests on older ZSH versions 2018-07-19 22:39:19 +02:00
Dominik Ritter
4b32b2c0b2 Fix tests 2018-07-19 22:25:15 +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
Ben Hilburn
e70ce43809
Merge pull request #915 from onaforeignshore/fix_truncate_to_unique
[Bugfix] Fix for "truncate_to_unique" strategy
2018-07-19 08:46:27 -04:00
Dominik Ritter
cf353f5660 Add tests for color overriding 2018-07-19 08:15:50 +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
671f826a40 Set background color of vi_mode segment to white in insert mode 2018-07-19 07:42:09 +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
7a3aa9d3d1 Change swap segment to take an optional root prefix for testability 2018-07-18 22:26:08 +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
e99c7549fb Change ram segment to take an optional root prefix for testability 2018-07-18 22:24:25 +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
04168cc5c0 Change load segment to accept an optional root prefix for testability 2018-07-18 22:20:16 +02:00