Commit Graph

1129 Commits (dad983adb5e94f0dda493dfe1ad3fcf7ef734c58)

Author SHA1 Message Date
Fahad Hossain a8124a02e8 Fix unicode line wrap problem (issue #409)
Fix unicode line wrap issue mentioned in #409
Nota bene, This fixed the problem for me on Fedora 21 and Ubuntu 15.04
Needs to be tested on other systems
2015-05-06 22:37:24 +06:00
Nils Winkler 829716276b Merge pull request #465 from nwinkler/battery-percentage
Fixed conversion when the battery percentage is in the single digits.
2015-05-05 11:46:44 +02:00
Nils Winkler 2d13b3294a Fixed conversion when the battery percentage is in the single digits.
The previous version was printing an error when the battery percentage
was in the single digits, e.g. "7.04%". The code cuts returns the first
two digits, which in the case of "7.04%" are "7.". Any code that tries
to use that, e.g. the powerline-multiline theme will fail with an error.

This change corrects that by zero padding single digits, i.e. "07.04%"
instead of "7.04%".
2015-05-05 11:30:25 +02:00
Nils Winkler 3fdf606d41 Merge pull request #464 from ipoval/more_tests_for_base_plugin
More tests for base plugin
2015-05-04 09:52:16 +02:00
Ivan Povalyukhin 34670ea021 [tests] make setup function to create test dir per test 2015-05-03 18:11:27 -07:00
Ivan Povalyukhin f1de827622 [tests] added test for base plugin mkcd(); make mkcd() safe for directory names starting with a dash 2015-05-03 18:11:18 -07:00
Ivan Povalyukhin 067f851d79 [tests] added test for plugins base lsgrep() 2015-05-03 18:11:11 -07:00
Omer Katz f889dcba24 Merge pull request #463 from ben-efiz/issue/343
fixes #343 by surrounding $HOME (which can have spaces) with quotations ...
2015-04-29 16:37:51 +03:00
Benjamin Brombach 4510c9ee63 fixes #343 by surrounding $HOME (which can have spaces) with quotations marks 2015-04-29 14:56:46 +02:00
Nils Winkler d0d6780a2f Merge pull request #461 from rnijveld/patch-1
Homebrew upgrade command wants --all flag
2015-04-27 08:52:25 +02:00
Nils Winkler c44db6bcf9 Merge pull request #462 from nwinkler/thefuck
Added aliases for nvbn/thefuck
2015-04-27 08:23:27 +02:00
Nils Winkler 1da435f9a6 Added aliases for nvbn/thefuck
https://github.com/nvbn/thefuck
2015-04-27 08:22:11 +02:00
Ruben Nijveld f4a77e8e18 Homebrew upgrade command wants --all flag
Homebrew currently gives a warning about how this flag will be required in the future, as merged in Homebrew/homebrew#38572
2015-04-27 00:32:53 +02:00
Nils Winkler e57e5451f6 Merge pull request #460 from nwinkler/install
Updated install script.

Fixes #408
2015-04-26 12:03:40 +02:00
Nils Winkler a2bddd5c75 Updated install script
All of the install questions are now using the same syntax and semantics
for read/echo/case.
2015-04-26 12:00:17 +02:00
Nils Winkler 005448e8e1 Merge pull request #458 from shaief/master
PR regarding bug #453
2015-04-26 11:09:37 +02:00
shaief 5a5f3d99d2 Add confirmation before deleting .bak file. Add message when installation script ends. 2015-04-22 11:17:08 +03:00
Nils Winkler 34149b9341 Merge pull request #452 from nwinkler/powerline-multiline-sudo-prompt
Added sudo indicator to the Powerline-Multiline Theme
2015-04-22 07:55:43 +02:00
Nils Winkler 7e5e2d9513 Merge pull request #455 from Bash-it/update-vagrant-completion
Updated vagrant bash completion
2015-04-22 07:54:32 +02:00
Nils Winkler bcc29250e8 Merge pull request #457 from ipoval/ignore_my_ip_test
skip myip() function test - it is not determenistic, probably because of...
2015-04-22 07:53:48 +02:00
Ivan Povalyukhin fb2134364e skip myip() function test - it is not determenistic, probably because of the network latency 2015-04-21 21:09:51 -07:00
Omer Katz 8ea2b8e6ef Merge pull request #456 from Bash-it/update-git-completion
Updated git completion
2015-04-21 12:15:20 +03:00
Omer Katz bd6b4d8a28 Updated git completion. Fixes #299. 2015-04-21 11:29:45 +03:00
Omer Katz 7166fbf12a Updated vagrant bash completion. 2015-04-21 11:23:04 +03:00
Nils Winkler 2160c70c15 Added sudo indicator
If the user is currently in a valid sudo session (sudo currently does
not require a password), then the username part of the right  prompt will use
a different color (orange). This gives an indication to the user that
sudo commands will not require a password at the moment. One example for
this might be that the user is reminded to run a `sudo -k` to terminate
the current sudo session before stepping away from the screen.
2015-04-20 08:30:16 +02:00
Nils Winkler 1cf7a9b7ad Merge pull request #451 from nwinkler/dirs-completion
Added completion for dirs plugin
2015-04-16 10:44:19 +02:00
Nils Winkler 409e552970 Added completion for dirs plugin 2015-04-16 10:43:14 +02:00
Nils Winkler 81c7618e68 Merge pull request #450 from ipoval/backup_with_cp_dash_a
Backup with cp dash a
2015-04-13 08:22:43 +02:00
Ivan Povalyukhin f420560986 make buf() to respect file attributes on file backup 2015-04-11 15:51:26 -07:00
Ivan Povalyukhin c81971d1d8 preserve attributes of $CONFIG_FILE on backup 2015-04-11 15:51:26 -07:00
Nils Winkler 1aa265cc3d Merge pull request #449 from mimoralea/emperor-theme
Emperor theme; features time on the prompt with different colors for eac...
2015-04-10 08:18:41 +02:00
Nils Winkler f6a64d397f Merge pull request #448 from mimoralea/pbpaste-linux
Add aliases to copy to and paste from clipboard on the terminal for linu...
2015-04-10 08:17:34 +02:00
Miguel Morales 29c8e572c1 Remove darwin from the case 2015-04-09 10:34:04 -05:00
Miguel Morales a915926851 Emperor theme; features time on the prompt with different colors for each quater of the hour 2015-04-07 15:52:30 -05:00
Miguel Morales 0ddf972d99 Add aliases to copy to and paste from clipboard on the terminal for linux environments; analogous to pbpaste and pbcopy on Mac 2015-04-07 15:50:52 -05:00
Nils Winkler 16bc7843c4 Merge pull request #446 from nwinkler/proxy-plugin
Added proxy plugin.
2015-04-01 13:28:42 +02:00
Nils Winkler 492304dee5 Added proxy plugin. 2015-04-01 13:23:00 +02:00
Nils Winkler 25ec6ee6f3 Merge pull request #442 from ipoval/test_some_functions_in_base_plugin
start with tests for base.plugin.bash
2015-03-30 13:24:19 +02:00
Nils Winkler 332d06e734 Merge pull request #444 from nwinkler/nginx-move
Moved nginx settings to plugin.
2015-03-30 13:18:58 +02:00
Nils Winkler 98437efb15 Moved nginx settings to plugin.
These settings shouldn't be in the profile template, as they only make sense when used with nginx.
If you're using nginx, you can enable the nginx plugin.
2015-03-30 11:13:01 +00:00
Ivan Povalyukhin b3334bc9e5 adjust env vars in test_helper to make CI pass 2015-03-29 18:23:24 -07:00
Ivan Povalyukhin cbcdd66863 test base.plugin#pickfrom 2015-03-29 17:27:48 -07:00
Ivan Povalyukhin 839cf4429a start with tests for base.plugin 2015-03-29 16:31:05 -07:00
Ivan Povalyukhin 10ea42dc75 whitespace fixes in base.plugin.bash 2015-03-29 14:02:31 -07:00
Nils Winkler 07c4cb6f5e Merge pull request #441 from nwinkler/duplicate-rvm
Removed RVM loading, it's already done in the rvm plugin.
2015-03-29 12:47:58 +02:00
Nils Winkler a6e9a2e538 Removed RVM loading, it's already done in the rvm plugin. 2015-03-29 12:43:05 +02:00
Nils Winkler 95014c5ed5 Update bash_it.sh
Fixed file name after renaming.
2015-03-29 12:31:06 +02:00
Nils Winkler 7e2f4b0738 Update README.md
Updated Travis URL.
2015-03-29 12:24:01 +02:00
Nils Winkler 6759761201 Merge pull request #440 from ipoval/master
start with tests using bats framework, put travisci on
2015-03-29 12:21:24 +02:00
Ivan Povalyukhin c079458fd5 added travis build status to README 2015-03-28 18:57:51 -07:00