Commit Graph

2299 Commits (089b10b37cd9dcd6e157d5b1d4136ccfe7cbfabc)

Author SHA1 Message Date
Nils Winkler 51b4a9b17f
Merge pull request #1095 from lfelipe1501/patch-1
Update base.theme.bash with RUBY interpreter version check
2017-11-23 09:10:54 +01:00
Nils Winkler 08fe18f5a4
Merge pull request #1093 from seefood/ira-gifski
New and improved/enhanced vid-to-gif function
2017-11-23 09:07:47 +01:00
Luis Felipe Sánchez 31a0c6a9fd
Update base.theme.bash
Added feature to detect the ruby version interpreter
```bash
       rb_interp_prompt
```
and added to the existing function to be used in any theme.
2017-11-22 10:14:38 -05:00
Ira Abramov 7935ca4834 @lwinkler suggested this takes over the old plugin. 2017-11-22 14:44:09 +02:00
Ira Abramov 605f30381f Add alerting feature - warn if the resulting GIF is too large for twitter or other threasholds. 2017-11-22 14:43:02 +02:00
Ira Abramov 3a90bf18fb New and improved/enhanced vid-to-gif function 2017-11-20 19:38:46 +02:00
Nils Winkler 76e4659126
Merge pull request #1091 from specter119/master
use $SHORT_HOSTNAME if set for powerline theme
2017-11-17 06:25:54 -06:00
KeLiu e325859afb
use $SHORT_HOSTNAME if set
change `${HOSTNAME}` to `${SHORT_HOSTNAME:=$HOSTNAME}`
2017-11-17 17:07:43 +08:00
Nils Winkler 4743fc5b4b
Merge pull request #1090 from maikelmeyers/master
bash-it themes must not set the TERM variable
2017-11-13 04:03:37 +01:00
Nils Winkler 856afc5d6a
Merge pull request #1089 from telmofcosta/allow-theming-git-stash-char
Allow theming git stash chars
2017-11-13 04:02:17 +01:00
Telmo Costa 1fd3fa2440 Allow theming git stash chars 2017-11-12 17:42:11 +00:00
Maik 3e2ecba318 bash-it themes must not set the TERM variable. The used terminal emulator is responsible to set this variable correctly. 2017-11-11 18:02:04 +01:00
Nils Winkler 80810a08f0
Merge pull request #1088 from lfelipe1501/patch-3
Update README.md
2017-11-11 13:15:57 +01:00
Luis Felipe Sánchez ad2112ca50
Update README.md 2017-11-10 14:38:33 -05:00
Nils Winkler e9f6ab5a0f
Merge pull request #1085 from Stimim/master
support bash-preexec
2017-11-10 08:19:59 +01:00
Luis Felipe Sánchez 0008bec5d7
Update README.md
Update Readme for fix image demo
2017-11-09 16:50:12 -05:00
Nils Winkler efe2ed9ab4
Merge pull request #1084 from brossaip/patch-1
Add discharging character in brainy theme
2017-11-07 08:12:47 +01:00
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