Commit Graph

2127 Commits

Author SHA1 Message Date
Wei-Han Chen
5ff7df1607 support bash-preexec 2017-11-07 02:59:25 +08:00
brossaip
00732ad210 Add discharging character in brainy theme
I have followed the same technique as it is done in atomic theme
2017-11-06 18:01:30 +01:00
Nils Winkler
5df98aeac9 Merge pull request #1080 from nwinkler/battery-low
Fixed battery low
2017-11-05 12:57:19 +01:00
Nils Winkler
31990490fa Added test for the "no" energy tool case 2017-11-02 06:46:01 +01:00
Nils Winkler
5ab0cc5388 Fixed ioreg - no battery test case 2017-11-02 06:46:01 +01:00
Nils Winkler
7ea1a58216 Added comments on the test functions 2017-11-02 06:46:01 +01:00
Nils Winkler
fef8e9ed09 Fixed ioreg test case 2017-11-02 06:46:01 +01:00
Nils Winkler
629b8522e5 Ensuring that output is always two digits at least
Show "04" instead of just "4".
2017-11-02 06:46:01 +01:00
Nils Winkler
86a87a33b5 Refactored command output handling 2017-11-02 06:46:01 +01:00
Nils Winkler
a573b63da2 Simplified acpi 2017-11-02 06:46:01 +01:00
Nils Winkler
7602b1da32 Added tests for WMIC 2017-11-02 06:46:01 +01:00
Nils Winkler
601202e816 Simplified ioreg, added tests for no status 2017-11-02 06:46:01 +01:00
Nils Winkler
6b97283cbf Consolidated cases for pmset and ioreg 2017-11-02 06:46:01 +01:00
Nils Winkler
486c9e1382 Consolidated cases for acpi 2017-11-02 06:46:01 +01:00
Nils Winkler
3aed38c79f Updated acpi tests
Trying to cover the currently implemented tests, but I don't have a
system with acpi available for testing. Relying on assumptions so far.
2017-11-02 06:46:01 +01:00
Nils Winkler
812f49e457 Started first tests for acpi command 2017-11-02 06:46:01 +01:00
Nils Winkler
a4824cc8c8 Changed pmset test to use printf 2017-11-02 06:46:01 +01:00
Nils Winkler
b7b8a0afe0 Completed tests for upower command 2017-11-02 06:46:01 +01:00
Nils Winkler
d39d14b140 Refactored test run script so that you can run a single file
Call it like this:

test/run test/plugins/battery.plugin.bats

If called without any parameters, all of the tests are run.
2017-11-02 06:46:01 +01:00
Nils Winkler
5ab23e3ca0 Added test cases for acpi, upower and ioreg, need to fill in data
The one for ioreg works fine, the others currently fail.
2017-11-02 06:46:01 +01:00
Nils Winkler
b4c6029706 Made setup function for _command_exists generic 2017-11-02 06:46:01 +01:00
Nils Winkler
28c41efcbc Simplified setup fixture for pmset/_command_exists 2017-11-02 06:46:01 +01:00
Nils Winkler
c221648a7f Refactored setup function for pmset 2017-11-02 06:46:01 +01:00
Nils Winkler
c8d86858fd Added setup function for _command_exists that works for pmset 2017-11-02 06:46:01 +01:00
Nils Winkler
d0b3205de0 Added an additional test case and a fix for using the pmset command
The other commands still need to be mocked and tested/fixed, too.
2017-11-02 06:46:01 +01:00
Nils Winkler
ef28b2788b Added test cases for battery_percentage with pmset
Need to figure out way to ensure that pmset is used every time...
2017-11-02 06:46:01 +01:00
Travis Swicegood
611fcbeef8 Merge pull request #1078 from edubxb/travis-completion
Add travis completion
2017-10-31 11:13:38 -04:00
Eduardo Bellido Bellido
4a6db6ff83 Add travis completion
https://github.com/travis-ci/travis.rb
2017-10-31 00:48:55 +01:00
Travis Swicegood
8da29cddf6 Merge pull request #1076 from edubxb/pew-completion
Add pew completion
2017-10-30 17:43:41 -04:00
Travis Swicegood
712f8ef118 Merge pull request #1077 from lfelipe1501/patch-2
Update README.md for Atomic theme
2017-10-30 17:41:56 -04:00
Luis Felipe Sánchez
7fbfc3f356 Update README.md 2017-10-30 16:26:43 -05:00
Eduardo Bellido Bellido
1ee7d9bb05 Add pew completion 2017-10-30 10:40:58 +01:00
Nils Winkler
14e2d829ac Merge pull request #1075 from edubxb/fix-awless-completion
Fix typo in awless completion
2017-10-30 09:48:27 +01:00
Eduardo Bellido Bellido
c851254f93 Fix typo in awless completion 2017-10-30 09:41:04 +01:00
Nils Winkler
51fb2c86ff Merge pull request #1070 from padilo/awskeys-fix-profile-list
fixed awskeys with all profiles
2017-10-28 14:33:23 +02:00
Nils Winkler
825ada636c Merge pull request #1071 from edubxb/docker-compose-completion
Update docker-compose completion to the latest one
2017-10-28 14:32:44 +02:00
Nils Winkler
15764f9a67 Merge pull request #1072 from edubxb/gradle-completion
Upgrade gradle completion to the official one
2017-10-28 14:32:06 +02:00
Nils Winkler
f3448f0acf Merge pull request #1073 from edubxb/awless-completion
Add awless completion support
2017-10-28 14:30:33 +02:00
Nils Winkler
c93bc8d638 Merge pull request #1074 from edubxb/pipenv-completion
Add pipenv completion support
2017-10-28 14:29:44 +02:00
Eduardo Bellido Bellido
1820a973d2 Add pipenv completion support
https://github.com/kennethreitz/pipenv
2017-10-28 12:42:50 +02:00
Eduardo Bellido Bellido
da1e0dde6c Add awless completion support
https://github.com/wallix/awless
2017-10-28 12:37:41 +02:00
Eduardo Bellido Bellido
727fffb135 Upgrade gradle completion to the official one
https://github.com/gradle/gradle-completion
2017-10-28 00:02:02 +02:00
Eduardo Bellido Bellido
15e5705bf9 Update docker-compose completion to the latest one 2017-10-27 23:58:15 +02:00
Pablo Diaz
9d0da715d3 fixed awskeys with all profiles 2017-10-27 22:53:41 +02:00
Nils Winkler
2405fe2c54 Merge pull request #1068 from knope/patch-1
ssh doesn't care about case
2017-10-26 08:14:26 +02:00
knope
1b6a208b4c ssh doesn't care about case
... neither should it's autocomplete,
  please?  

  :D
2017-10-25 14:01:04 -04:00
Travis Swicegood
4c0e6c5adc Merge pull request #1067 from ziyaddin/patch-1
Fix documentation typos
2017-10-24 11:52:50 -04:00
Ziyaddin Sadigov
85ed47cfea Fix additional readme typos 2017-10-24 15:27:55 +04:00
Ziyaddin Sadigov
28a2461109 Fix readme typos 2017-10-24 15:15:20 +04:00
Nils Winkler
4dfca63d6c Merge pull request #1066 from mmasi-attivio/sdkman-dir
Use custom SDKMAN_DIR if set
2017-10-23 18:20:10 +02:00