Commit Graph

165 Commits (3057e8fc07374e9c580790a023cb85998ca91fc8)

Author SHA1 Message Date
Dominik Ritter 0dbfa4e1e4 Add small changes suggested by @Syphdias 6 years ago
Dominik Ritter a00cb84da4 Fix regular expression and test 6 years ago
Dominik Ritter 06151eeba9 Merge remote-tracking branch 'ben/master' into HEAD 6 years ago
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.
6 years ago
Dominik Ritter 22f6495005
Merge pull request #1151 from Wuestengecko/bugfix-1150
[Bugfix] Only abbreviate $HOME at the beginning of cwd
6 years ago
Dominik Ritter 08798d12ad
Merge pull request #1147 from dritter/fix_newlines_in_zsh57
Fix newlines in ZSH 5.7
6 years ago
Dominik Ritter 8bb86908d7 Add tests 6 years ago
Dominik Ritter 5c7d1009de
Merge pull request #1148 from dritter/remove_nodeenv_disable_prompt
Remove checking for NODEENV_DISABLE_PROMPT
6 years ago
Dominik Ritter f42214e44b Add tests for newline segment 6 years ago
Dominik Ritter bd340d4a88
Merge pull request #966 from ytang/fix-rprompt-icons-cut-off
[Bugfix] Fix icons cut off in RPROMPT segments
6 years ago
Dominik Ritter 2f05bbbb47 Remove checking for NODEENV_DISABLE_PROMPT
This variable is none of our buisness.
6 years ago
Dominik Ritter 747b94b1b6 Match VPN interface fuzzy on Linux 6 years ago
Dominik Ritter bde4337992 Match VPN Interface fuzzy 6 years ago
Dominik Ritter 54a985cb11 Simplify code that checks if a VPN is running 6 years ago
Dominik Ritter 480ade162b Improve tests 6 years ago
Dominik Ritter 32d3216bde Fix tests 6 years ago
Dominik Ritter 9b73c8bd9c Add tests 6 years ago
Matthew Judy 6df2ba0ae0 Port git submodule test from `next`. 6 years ago
Dominik Ritter 724781e896
Merge pull request #1065 from dritter/protect_locale
Protect locale
6 years ago
Dominik Ritter a72a82b4b1 Fix tests 6 years ago
Dominik Ritter 24818eff79 Fix test
The branch name must not be expanded.
6 years ago
Dominik Ritter 1b7e41964c Fix configuration errors in the tests 6 years ago
Dominik Ritter 7bc5366af1 Add tests for branch name vulnerability 6 years ago
Dominik Ritter 4ebb9f92a1 Ensure that LC_CTYPE IS NOT overwritten by P9K 6 years ago
Dominik Ritter 6cfe8f8d96 Add test for detecting untracked files from sibling folder 6 years ago
Dominik Ritter 9d84e6fb6a Add tests for complex git submodule scenarios 6 years ago
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.
6 years ago
Dominik Ritter d831f12126 Do not throw away users configuration 6 years ago
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.
6 years ago
Yang Tang 5737ca6e81 Remove extra %f in unit tests 6 years ago
Yang Tang a98fa7ff54
Merge branch 'master' into fix-rprompt-icons-cut-off 6 years ago
Dominik Ritter 94897a40f0 Fix tests 6 years ago
Yang Tang 24bbbfc9bd Update unit tests for fixing RPROMPT icons cut off 6 years ago
Yang Tang 877ef61773 Fix icons cut off in RPROMPT segments 6 years ago
Dominik Ritter df0c2198a0 Fix tests 6 years ago
Dominik Ritter 7a1319c2d9 Add tests for color comparisons with none colors 6 years ago
Dominik Ritter a0d57bc455 Add test for bright colors 6 years ago
Dominik Ritter e0630d7573 Merge branch 'fix_colors' into prepare_066 6 years ago
Dominik Ritter ef5f9bb1b4 Fix tests 6 years ago
Dominik Ritter c7e543ff23 Merge branch 'fix_colors' into prepare_066 6 years ago
Dominik Ritter 057b07b214 Fix tests 6 years ago
Dominik Ritter e970a021c8 Fix tests 6 years ago
Dominik Ritter aca20ae463 Merge branch 'add_tests' into prepare_066 6 years ago
Dominik Ritter ba353caa98 Fix tests for context segment 6 years ago
Dominik Ritter e7cbcc5187 Fix tests 6 years ago
Dominik Ritter 81fd69ae98 Update shunit2 to newest version 6 years ago
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.
6 years ago
Dominik Ritter 3b0397d1a6 Fix test for background_jobs segment 6 years ago
Dominik Ritter 06de83cc0f Prepare tests for performance optimizations 6 years ago
Dominik Ritter 99f0eddd62 Add tests for nerdfont-complete icons 6 years ago