Commit Graph

366 Commits

Author SHA1 Message Date
simowdas
8f09914e63 Update battery.plugin.bash
Add -i option to grep BAT in upower to ignore case distinctions.
2019-04-11 10:57:04 +02:00
Joao Pereira
b5c9ecaf27 Add CNB pack cli plugin
Adds the plugin that enables autocompletion for pack CLI
2019-04-04 17:51:32 -04:00
markusdd
f14d4fcc3c turn coloured cat and less into ccat and cless
old approach would override systems cat, which is malicious when used in conjunction with shell piping or redirection
2019-02-22 14:41:01 +01:00
Nils Winkler
ca5c512a35 Removed 'local' keyword 2018-12-18 09:26:25 +01:00
Travis Swicegood
7f34570a05 Merge pull request #1267 from cornfeedhobo/fix-go-env-vars
Add multiple path support to go plugin
2018-12-06 22:07:21 -06:00
cornfeedhobo
3645305644 add go plugin tests and update list reversal logic 2018-12-06 17:07:03 -05:00
Septian Dwic
310ee837c9 init - bash its automatically load auto-completion 2018-11-21 02:05:19 +07:00
Eduardo Bellido Bellido
b3f7de3893 Support XDG in fzf plugin 2018-11-11 14:14:02 +01:00
cornfeedhobo
4ff305c009 add multiple path support to go plugin 2018-11-09 18:55:19 -05:00
Eduardo Bellido Bellido
3c8dbf3cd4 Allow custom aws config files path
Honor the environment variables:

  AWS_CONFIG_FILE
  AWS_SHARED_CREDENTIALS_FILE

in the aws plugin.

+info:
https://docs.aws.amazon.com/cli/latest/userguide/cli-environment.html
2018-10-31 19:18:37 +01:00
Nils Winkler
d4f4e33ad5 Merge pull request #1254 from padilo/aws-session-token
aws session token support on awskeys
2018-10-31 16:09:54 +01:00
Pablo Diaz
12ff176c55 aws session token support 2018-10-30 22:54:46 +01:00
Robert Treat
84b6fde653 Make Postgres name use consistent 2018-10-29 18:34:28 -05:00
Nils Winkler
82776162d1 Merge pull request #1251 from edubxb/aws-variable-name
Update AWS variable name
2018-10-29 09:06:20 +01:00
Eduardo Bellido Bellido
089b10b37c Update AWS variable name
AWS_DEFAULT_PROFILE is deprecated, AWS_PROFILE is the correct one now.

+info:
https://docs.aws.amazon.com/cli/latest/userguide/cli-environment.html
2018-10-27 23:03:20 +02:00
Septian Dwic
6cc7b9112e Don't export ruby-build/bin to PATH
If ruby-build is installed as a rbenv plugin, ruby-build/bin
directories automatically included.
2018-10-26 21:49:52 +07:00
Enze Chi
502de11c2f Use go binary to get default GOROOT and GOPATH 2018-10-18 10:57:54 +11:00
Enze Chi
f847371447 Avoid double semicolon in the PROMPT_COMMAND
The direnv bash hook already add a semicolon to the PROMPT_COMMAND and this
plugin will add another one if direnv is installed. This commit will check if
the PROMPT_COMMAND ends with semicolon to avoid have double ones.
2018-08-02 22:01:15 +10:00
Nils Winkler
86950c3d7c Merge pull request #1216 from adawalli/jump
Add plugin for 'jump'
2018-07-19 08:34:16 +02:00
Nils Winkler
8668ff05ca Merge pull request #1215 from adawalli/fzf-fd
Use fd for fzf if available on system
2018-07-19 08:31:38 +02:00
Adam Wallis
03e26ef7a4 Only initialize FZF_DEFAULT_COMMAND if not already set 2018-07-18 10:13:49 -04:00
Adam Wallis
ac42a6233c Allow jump plugin to fail silently when jump not installed
Per recommendations from @nwinkler, allow the jump test to fail
silently. This helps in cases where users are SSH'ing in, or for some
other reason are using bash-it environment on a foreign machine.
2018-07-18 09:52:52 -04:00
Adam Wallis
dd081b6e5f Add plugin for 'jump'
Considering FASD has been deprecated, jump does the same thing but is
actively maintained!

https://github.com/gsamokovarov/jump
2018-07-17 13:58:55 -04:00
Adam Wallis
e8c3237fb4 Use fd for fzf if available on system
fd is orders of magnitude faster when searching for files. This patch
will force fzf to use fd instead of find.

This change is implemented per the recommendation:
https://github.com/junegunn/fzf#environment-variables
2018-07-17 10:56:36 -04:00
Adam Wallis
1a81ca8b8d Don't redefine powerline theme functions
In the case where a powerline theme is enabled in bash-it,
it seems prudent to avoid touching any of these functions.
2018-07-09 22:14:17 +00:00
Adam Wallis
6eb35644e6 Add powerline initialization plugin
Initializes powerline per the official powerline documentation:
https://powerline.readthedocs.io/en/master/usage/shell-prompts.html#bash-prompt
2018-07-09 21:56:42 +00:00
Pablo Palazon
5387aa025d Corrected grammatical errors 2018-06-14 09:22:45 +02:00
Pablo Palazon
8b0d752168 Add jgit-flow plugin 2018-06-11 18:44:54 +02:00
Nils Winkler
846f730a9e Renamed "fd" function to "fcd" to avoid clash with "fd" tool 2018-04-26 08:33:12 +02:00
Ricardo Lima
98c44fcc1e Fix quoting in the Explain plugin
Fixes bug where Bash prints a "command not found" message when the
function is run, due to incorrect quoting of the argument to the
meta function example.
2018-04-21 22:04:04 -04:00
Yukino Song
fa266e9b0c Change to _command_exists helper 2018-04-11 14:59:56 +08:00
Yukino Song
0b73975d04 Add support for pyenv-virtualenv 2018-04-10 17:12:22 +08:00
Piotr Rogoża
f8fd94d46f Fixed opening vim 2018-04-02 01:55:36 +02:00
Nils Winkler
f3439c7370 Merge pull request #1162 from kaimingguo/refresh-launchpad
Add reset launchpad layout function
2018-03-20 03:54:14 -04:00
cornfeedhobo
0c656bf269 add nodenv plugin 2018-03-17 13:06:13 -05:00
Kai-Ming Guo
f168ce8109 Add reset launchpad layout function
The layout will have returned to the default, placing all bundled
apps onto the first screen of Launchpad, and third party apps onto
the secondary (and third, if applicable) screens
2018-03-15 22:57:02 +08:00
Julio Borja Barra
137b700097 Change template for temp file creation
This makes the script compatible with other 'versions' of `mktemp`.
2018-03-07 12:54:01 +01:00
Sam Fonseca
75630b01d5 explicitly use python2 for svn proxy functions 2018-01-20 13:55:59 -05:00
Ira Abramov
19a2dd8bb8 Support filenames with spaces. Bash is magic sometimes. 2018-01-18 12:26:27 +02:00
Ira Abramov
af3ca28430 Just in case - make sure WebM output is marked to loop. 2018-01-18 12:01:18 +02:00
Ira Abramov
bb27aafee5 Fix a minute logic bug - if one file deletion is skipped, not all the following deletions will be skipped 2018-01-18 12:01:18 +02:00
Adam Wallis
3651a31c5e Fixes: 659ecd0388 plugins: percol: Check for alias zz before unalias
The original patch (659ecd0388)
unaliases the percol alias, however, does not validate if the alias
is already defined. This leads to the following message that is shown
everytime a new bash session is spawned where this variable is not
defined when the percol plugin is enabled.

bash: unalias: zz: not found
2018-01-10 19:58:29 -05:00
Ira Abramov
f693e7cb59 Adding GIF2WebM, but it actually works will with any video input file. 2018-01-03 19:56:34 +02:00
Ira Abramov
1620f2cc78 GIF plugin: Fix the FPS detection and add webm creation as a future-looking feature. 2018-01-03 19:10:07 +02:00
Nils Winkler
9832ea07af Merge pull request #1112 from seefood/ira-gifski
Oops, an important fix to the gif plugin options.
2017-12-14 10:39:41 +01:00
Nils Winkler
d77c3b1dab Update direnv.plugin.bash
Added link to direnv web site.
2017-12-11 08:43:53 +01:00
Dan Wendorf
21fec8ff15 Add direnv plugin
See https://direnv.net/
2017-12-08 10:07:54 -08:00
Ira Abramov
99d494535b Oops, an important fix to the gif plugin options. 2017-12-04 15:42:23 +02:00
Ira Abramov
21637a6065 GIF plugin: Added FPS auto-detection, support for filenames with spaces, and localized variables 2017-11-30 13:07:41 +02:00
Ira Abramov
7935ca4834 @lwinkler suggested this takes over the old plugin. 2017-11-22 14:44:09 +02:00