Commit Graph

937 Commits

Author SHA1 Message Date
Miguel Morales
6821b6c0dc Add less and remove hard exit 2015-05-24 18:04:42 -05:00
Miguel Morales
6b1789e385 Add cat function documentation 2015-05-12 16:36:07 -05:00
Miguel Morales
3f98e953cd Fix typo 2015-05-12 16:26:18 -05:00
Miguel Morales
af2f0304cb Add proper exit code 2015-05-12 15:57:39 -05:00
Miguel Morales
0bdcf196aa Add pretty cat plugin for cat with syntax highlighting 2015-05-12 11:30:49 -05:00
Miguel Morales
2b99e43d81 Merge pull request #1 from Bash-it/master
Update from upstream
2015-05-12 11:27:37 -05:00
Nils Winkler
7f8e2c2de7 Merge pull request #470 from edubxb/aws-plugin
Added AWS plugin
2015-05-09 20:35:55 +02:00
Nils Winkler
1a475ffcf1 Merge pull request #466 from fa7ad/master
Fix unicode line wrap problem (issue #409)
2015-05-09 20:30:16 +02:00
Eduardo Bellido Bellido
767a7a63ca Added AWS plugin
- awskeys, helper function for credentials profiles
2015-05-09 01:33:30 +02:00
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