1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-27 17:11:57 +00:00
Commit graph

165 commits

Author SHA1 Message Date
Dominik Ritter
0dbfa4e1e4 Add small changes suggested by @Syphdias 2019-02-25 18:22:59 +01:00
Dominik Ritter
a00cb84da4 Fix regular expression and test 2019-02-04 15:40:31 +01:00
Dominik Ritter
06151eeba9 Merge remote-tracking branch 'ben/master' into HEAD 2019-02-03 19:52:29 +01:00
Dominik Ritter
40e04e053c Parse IPs properly
This is done if we want to show a public IP, internal IP, or a VPN.
In the VPN case, what we actually want is to display an indicator
that a VPN is active, instead of the VPN IP itself. We parse the
IP here anyway, because we want to save some specific code there.
2019-02-03 19:20:14 +01:00
Dominik Ritter
22f6495005
Merge pull request #1151 from Wuestengecko/bugfix-1150
[Bugfix] Only abbreviate $HOME at the beginning of cwd
2019-02-02 00:48:54 +01:00
Dominik Ritter
08798d12ad
Merge pull request #1147 from dritter/fix_newlines_in_zsh57
Fix newlines in ZSH 5.7
2019-02-01 23:52:56 +01:00
Dominik Ritter
8bb86908d7 Add tests 2019-02-01 23:48:39 +01:00
Dominik Ritter
5c7d1009de
Merge pull request #1148 from dritter/remove_nodeenv_disable_prompt
Remove checking for NODEENV_DISABLE_PROMPT
2019-02-01 17:06:10 +01:00
Dominik Ritter
f42214e44b Add tests for newline segment 2019-02-01 14:37:17 +01:00
Dominik Ritter
bd340d4a88
Merge pull request #966 from ytang/fix-rprompt-icons-cut-off
[Bugfix] Fix icons cut off in RPROMPT segments
2019-02-01 14:19:02 +01:00
Dominik Ritter
2f05bbbb47 Remove checking for NODEENV_DISABLE_PROMPT
This variable is none of our buisness.
2019-02-01 11:09:42 +01:00
Dominik Ritter
747b94b1b6 Match VPN interface fuzzy on Linux 2019-01-23 19:10:46 +01:00
Dominik Ritter
bde4337992 Match VPN Interface fuzzy 2019-01-23 18:56:07 +01:00
Dominik Ritter
54a985cb11 Simplify code that checks if a VPN is running 2019-01-23 01:02:42 +01:00
Dominik Ritter
480ade162b Improve tests 2019-01-23 01:01:49 +01:00
Dominik Ritter
32d3216bde Fix tests 2019-01-22 19:18:09 +01:00
Dominik Ritter
9b73c8bd9c Add tests 2019-01-21 19:46:53 +01:00
Matthew Judy
6df2ba0ae0 Port git submodule test from next. 2018-11-17 17:41:55 -05:00
Dominik Ritter
724781e896
Merge pull request #1065 from dritter/protect_locale
Protect locale
2018-11-17 01:39:38 +01:00
Dominik Ritter
a72a82b4b1 Fix tests 2018-11-16 22:21:49 +01:00
Dominik Ritter
24818eff79 Fix test
The branch name must not be expanded.
2018-11-16 22:20:21 +01:00
Dominik Ritter
1b7e41964c Fix configuration errors in the tests 2018-11-16 22:20:08 +01:00
Dominik Ritter
7bc5366af1 Add tests for branch name vulnerability 2018-11-16 22:15:35 +01:00
Dominik Ritter
4ebb9f92a1 Ensure that LC_CTYPE IS NOT overwritten by P9K 2018-11-14 23:27:05 +01:00
Dominik Ritter
6cfe8f8d96 Add test for detecting untracked files from sibling folder 2018-11-12 00:37:34 +01:00
Dominik Ritter
9d84e6fb6a Add tests for complex git submodule scenarios 2018-11-03 03:45:05 +01:00
Dominik Ritter
44b4b66925 Speedup VCS segment
Now the untracked files are detected via `git ls-files`, which is
much faster than `git status`. Additionally, we flipped the default
for checking submodules. They are now NOT checked by default, as most
users probably do not use git submodules.
2018-11-03 03:21:47 +01:00
Dominik Ritter
d831f12126 Do not throw away users configuration 2018-10-12 22:04:02 +02:00
Dominik Ritter
d1cd83bf0b Fix tests
It seems like Travis changed their infrastructure. We
need to unset SSH_TTY and SSH_CLIENT to get the tests
working again.
2018-10-12 21:50:25 +02:00
Yang Tang
5737ca6e81 Remove extra %f in unit tests 2018-10-12 14:09:22 -04:00
Yang Tang
a98fa7ff54
Merge branch 'master' into fix-rprompt-icons-cut-off 2018-10-12 11:29:50 -04:00
Dominik Ritter
94897a40f0 Fix tests 2018-09-05 19:07:25 +02:00
Yang Tang
24bbbfc9bd Update unit tests for fixing RPROMPT icons cut off 2018-08-22 15:01:04 -04:00
Yang Tang
877ef61773 Fix icons cut off in RPROMPT segments 2018-08-22 14:37:52 -04:00
Dominik Ritter
df0c2198a0 Fix tests 2018-08-17 18:53:26 +02:00
Dominik Ritter
7a1319c2d9 Add tests for color comparisons with none colors 2018-08-10 00:47:20 +02:00
Dominik Ritter
a0d57bc455 Add test for bright colors 2018-08-09 08:11:19 +02:00
Dominik Ritter
e0630d7573 Merge branch 'fix_colors' into prepare_066 2018-08-09 00:28:50 +02:00
Dominik Ritter
ef5f9bb1b4 Fix tests 2018-08-08 23:47:01 +02:00
Dominik Ritter
c7e543ff23 Merge branch 'fix_colors' into prepare_066 2018-08-08 02:03:03 +02:00
Dominik Ritter
057b07b214 Fix tests 2018-08-08 01:01:14 +02:00
Dominik Ritter
e970a021c8 Fix tests 2018-08-08 00:42:42 +02:00
Dominik Ritter
aca20ae463 Merge branch 'add_tests' into prepare_066 2018-08-06 00:17:23 +02:00
Dominik Ritter
ba353caa98 Fix tests for context segment 2018-08-05 22:40:39 +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
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