Commit Graph

4084 Commits (54798e0c18bcecf96340f52d2db8eddea59b347e)
 

Author SHA1 Message Date
Dominik Ritter cc31a05c52 Add test for ram segment
Dominik Ritter e99c7549fb Change ram segment to take an optional root prefix for testability
Dominik Ritter 1e71d452e1 Add tests for public_ip segment
Dominik Ritter e95f84a55d Add tests for php_version segment
Dominik Ritter 084f992fab Add tests for nvm segment
Dominik Ritter 44ec267dfb Add tests for nodeenv segment
Dominik Ritter 85cc62b72b Add tests for node_version segment
Dominik Ritter 2efbd7e188 Add tests for load segment
Dominik Ritter 04168cc5c0 Change load segment to accept an optional root prefix for testability
Dominik Ritter 1cf68e418c Add tests for ip segment
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.
Dominik Ritter a757607476 Add tests for disk_usage segment
Dominik Ritter edfd4732f2 Add tests for detect_virt segment
Dominik Ritter b61d021abd Simplify detect_virt segment
Dominik Ritter 829c7ceaae Add tests for custom segment
Dominik Ritter 629d52a7d5 Add visual identifier to custom segments
Dominik Ritter 743ddc1253 Add tests for context segment
Christo Kotze dd25b5db12 truncate_to_unique - simplified the code
Brandon Clothier ef1f29a5cb
Drop grep usage in favor of zsh regex test
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
Ben Hilburn afcb1b7f84
Merge pull request from AlexaraWu/patch/pyenv
Additional fix to `pyenv` segment
Alexara Wu cff11d2e82
Fix `pyenv` segment
Christo Kotze 29c85be8d9 Fix for "truncate_to_unique" strategy
Dominik Ritter d9b3edf0e8 Fix go_version test
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.
Dominik Ritter 74a3d2d6e2 Add tests for background_jobs segment
Dominik Ritter 8c44fa68a2 Add tests for aws_eb_env segment
Dominik Ritter 0e4e9e4256 Add tests for anaconda segment
Ben Hilburn 22a761208d
Merge pull request from AlexaraWu/patch/pyenv
Fix `pyenv` segment
Dominik Ritter b996ca911e Output running test
Dominik Ritter 21f2d1a377 Test all *.spec files on travis
Brandon Clothier 48b264f564
Fix error in laravel_version when artisan is not present
Alexara Wu 45fe401dc2
Improve conditions in `rbenv` & `pyenv`
Alexara Wu 9f09547ad1
Improve `rbenv` as well
Alexara Wu 25e2064f0e
Improve command check
Ben Hilburn a7b3f310d3
Merge pull request from robobenklein/robobenklein/defined-variable-performance-hotfix
[performance] Defined function 2-20 times speedup
Ben Hilburn e1a420b5d2
Merge pull request from dritter/fix_context_readme
Add new states to context segment in README
Ben Hilburn e95be8f208
Update to `context` segment README
Just some minor spelling fixes.
Ben Hilburn 110a242ad4
Merge pull request from dritter/fix_status
FIx status segment
Dominik Ritter 6c4a3e8a1b Execute tests on various ZSH versions
Dominik Ritter d502d05f08 Add tests for status segment
Ben Klein 45b0d68ec4
Replace `typeset` check with shellvar flag
More performance without changing functionality.
Dominik Ritter 4178240b24 Add Dockerfile for zshing framework
Dominik Ritter 8cd39beaad FIx status segment
Dominik Ritter d1fc86e598 Add new states to context segment in README
Ben Klein 002f7b81a1
Replace [[-v with `defined`
For zsh 5.1 compatibility.
Alexara Wu fc39d9d6b8
Fix `pyenv` segment
Dominik Ritter d031b3e035 Fix kubernetes segment
Ben Hilburn 579887d294 Merge branch 'master' into next
Ben Hilburn 51a8c283e6
Merge pull request from krmcbride/patch-1
kubecontext: fix context, namespace comparison