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
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
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
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
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
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
4972f0b8eb
Improve tests by making use of local variables
6 years ago
Dominik Ritter
16e5e14af7
Fix tests on older ZSH versions
6 years ago
Dominik Ritter
2fa2e7560f
Remove vcs.spec
...
There are now specific tests for git and hg
6 years ago
Dominik Ritter
7bfa471e41
Fix tests for dir segment on OSX
6 years ago
Dominik Ritter
7a7b4ee13a
Merge remote-tracking branch 'ben/master' into add_tests
6 years ago
Dominik Ritter
a5d9227fcb
Add tests for vi_mode segment
6 years ago
Dominik Ritter
d13410d38c
Fix tests for nvm segment
6 years ago