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
Dominik Ritter
1cf68e418c
Add tests for ip segment
2018-07-18 22:19:14 +02:00
Dominik Ritter
43272410c9
Change ip segment so that the tests can be executed on OSX as well
...
Change regular expressions to a more compatible format.
2018-07-18 22:17:54 +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
b61d021abd
Simplify detect_virt segment
2018-07-18 22:15:35 +02:00
Dominik Ritter
829c7ceaae
Add tests for custom segment
2018-07-18 22:13:52 +02:00
Dominik Ritter
629d52a7d5
Add visual identifier to custom segments
2018-07-18 22:13:25 +02:00
Dominik Ritter
743ddc1253
Add tests for context segment
2018-07-18 22:11:51 +02:00
Christo Kotze
dd25b5db12
truncate_to_unique - simplified the code
2018-07-18 19:46:31 +04:00
Brandon Clothier
ef1f29a5cb
Drop grep usage in favor of zsh regex test
2018-07-18 11:45:05 -04:00
Christo Kotze
38c8519f10
Changed getUniqueHomeFolder to use $HOME
...
It is a Posix specification that $HOME be set, so we can use that.
See http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html
2018-07-18 19:26:15 +04:00
Ben Hilburn
afcb1b7f84
Merge pull request #916 from AlexaraWu/patch/pyenv
...
Additional fix to `pyenv` segment
2018-07-18 09:11:37 -04:00
Alexara Wu
cff11d2e82
Fix pyenv
segment
2018-07-18 04:14:34 +08:00
Christo Kotze
29c85be8d9
Fix for "truncate_to_unique" strategy
2018-07-17 12:17:21 +04: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
Ben Hilburn
22a761208d
Merge pull request #900 from AlexaraWu/patch/pyenv
...
Fix `pyenv` segment
2018-07-16 11:01:00 -04:00
Dominik Ritter
b996ca911e
Output running test
2018-07-16 08:21:25 +02:00
Dominik Ritter
21f2d1a377
Test all *.spec files on travis
2018-07-16 07:33:31 +02:00
Brandon Clothier
48b264f564
Fix error in laravel_version when artisan is not present
2018-07-14 18:24:10 -04:00
Alexara Wu
45fe401dc2
Improve conditions in rbenv
& pyenv
2018-07-14 20:41:15 +08:00
Alexara Wu
9f09547ad1
Improve rbenv
as well
2018-07-14 17:09:56 +08:00
Alexara Wu
25e2064f0e
Improve command check
2018-07-14 06:32:07 +08:00
Ben Hilburn
a7b3f310d3
Merge pull request #905 from robobenklein/robobenklein/defined-variable-performance-hotfix
...
[performance] Defined function 2-20 times speedup
2018-07-13 13:25:45 -04:00
Ben Hilburn
e1a420b5d2
Merge pull request #902 from dritter/fix_context_readme
...
Add new states to context segment in README
2018-07-13 13:15:41 -04:00
Ben Hilburn
e95be8f208
Update to context
segment README
...
Just some minor spelling fixes.
2018-07-13 13:13:12 -04:00
Ben Hilburn
110a242ad4
Merge pull request #904 from dritter/fix_status
...
FIx status segment
2018-07-13 13:10:45 -04:00
Dominik Ritter
6c4a3e8a1b
Execute tests on various ZSH versions
2018-07-13 01:18:07 +02:00
Dominik Ritter
d502d05f08
Add tests for status segment
2018-07-13 00:41:35 +02:00
Ben Klein
45b0d68ec4
Replace typeset
check with shellvar flag
...
More performance without changing functionality.
2018-07-12 15:37:33 -04:00
Dominik Ritter
4178240b24
Add Dockerfile for zshing framework
2018-07-12 14:19:36 -04:00
Dominik Ritter
8cd39beaad
FIx status segment
2018-07-12 08:13:52 +02:00
Dominik Ritter
d1fc86e598
Add new states to context segment in README
2018-07-12 00:37:54 +02:00