Uco Mesdag
e73f6dbc62
Reworded the about
2020-04-13 02:37:24 +02:00
Uco Mesdag
b220c0e744
Plugin to toggle sudo before your current or last command
2020-04-13 02:30:28 +02:00
Alex Thiessen
7a83c56d3a
plugins/base: Detect HTTP errors in `myip()`
...
Out of the box, `curl` reports success (via exit code) even if the
server returns an error, e.g. _429 Too Many Requests_ which was
sometimes the case with `http://myip.dnsomatic.com `. So, errors went
undetected.
There is the `--fail` switch which enables us to use the exit code the
way we need:
> -f, --fail
> (HTTP) Fail silently (no output at all) on server
> errors. This is mostly done to better enable scripts etc
> to better deal with failed attempts. In normal cases
> when an HTTP server fails to deliver a document, it
> returns an HTML document stating so (which often also
> describes why and more). This flag will prevent curl
> from outputting that and return error 22.
Use it to make the `myip()` deliver results reliably.
2020-04-07 00:01:09 +02:00
David Farrell
f52453c643
Fix goenv plugin
2020-03-25 11:29:12 -07:00
Nils Winkler
52123d5072
Merge pull request #1510 from cornfeedhobo/add-goenv
...
Add goenv plugin
2020-03-25 08:42:17 +01:00
David Farrell
ab7f15bee1
Added a comment
2020-03-10 23:02:33 -07:00
David Farrell
8e9dadfaad
Adds metadata + support for multiple arguments
2020-03-10 22:58:39 -07:00
cornfeedhobo
58d3acfd88
add goenv plugin
2020-03-10 02:03:05 -05:00
David Farrell
6419d9246d
Add cht.sh plugin
2020-03-09 12:38:05 -07:00
Taro Sato
a7a777b20a
Pass all the expected arguments to completion function
2020-02-28 01:04:19 -08:00
Taro Sato
fbc8f7ddf4
Add comment explaining compl_func_args
2020-02-23 18:40:54 -08:00
Taro Sato
fe26adf7ac
Pass the aliased command as an argument to _filedir_xspec
2020-02-22 16:20:40 -08:00
Nils Winkler
48383afc49
Renamed the fuck plugin
2020-02-16 12:38:14 +01:00
Nils Winkler
54673712be
Updated init code for fuck
...
Moved to a plugin, removed "fuck" alias.
2020-02-16 12:37:58 +01:00
Nils Winkler
fb7160cf60
Merge pull request #1493 from bingzhangdai/patch-1
...
Create ~/.ssh and ~/.ssh/config if does not exits
2020-02-16 12:33:04 +01:00
Bingzhang Dai
f7cb2ef5c6
Update ssh.plugin.bash
2020-02-16 15:44:50 +08:00
Bingzhang Dai
bf7da247bf
Revert changes
2020-02-16 15:42:51 +08:00
Bingzhang Dai
72224ab034
Create ~/.ssh and ~/.ssh/config if does not exits
2020-02-16 15:39:37 +08:00
John McBride
a76a9ee437
Remove fasd zz function from percol plugin
...
Signed-off-by: John McBride <jpmmcbride@gmail.com>
2020-02-14 14:03:54 -07:00
John McBride
b442267d2d
Remove vf funcion as fasd unsupported
...
Signed-off-by: John McBride <jpmmcbride@gmail.com>
2020-02-05 15:15:13 -07:00
John McBride
3f293c253f
Safe array expansion
...
Signed-off-by: John McBride <jpmmcbride@gmail.com>
2020-02-03 15:37:54 -07:00
John McBride
6cd634dd85
Initilize as array in example
...
Signed-off-by: John McBride <jpmmcbride@gmail.com>
2020-02-03 15:32:27 -07:00
John McBride
b4b4ccfe31
Correct bind option
...
Signed-off-by: John McBride <jpmmcbride@gmail.com>
2020-02-03 12:52:47 -07:00
John McBride
036c26dbed
Update jump plugin
...
- remove z plugin
- remove fasd plugin
- update test that referenced fsad
Signed-off-by: John McBride <jpmmcbride@gmail.com>
2020-02-03 11:43:24 -07:00
Gurkirat Singh
29bb382cc1
added man colors plugin
2019-11-27 18:01:28 +05:30
cornfeedhobo
377f02714d
Simplify multiple path support in go plugin ( #1284 )
...
* simplify wrapped pathmunge logic. update tests to account for cases with spaces in $PATH.
2019-11-20 08:49:34 +01:00
markusdd
c9054e25a9
implement feedback
2019-10-07 14:19:38 +02:00
markusdd
c0ac3d8393
Update less-pretty-cat plugin to support pygment style selection
...
Pygments offers great styles and in dark terminals the default is unsatisfactory.
Use two new env variables BASH_IT_CLESS_STYLE and BASH_IT_CCAT_STYLE to select pygment themes.
Availables styles can be listes using pygmentize -L styles
2019-10-05 15:50:59 +02:00
Stefano Cislaghi
a0af4f40cd
Added proxy exceptions (noproxy) for npm
2019-09-02 11:40:51 +01:00
Nils Winkler
f29a195f49
Make sed replacements work for both BSD and GNU sed
...
Fixes #1411
2019-07-31 08:50:33 +02:00
Nils Winkler
4566a159fb
Merge branch 'master' into fix/node-plugin-path
2019-07-30 08:53:38 +02:00
Nils Winkler
93b2443410
Merge pull request #1402 from skorn/master
...
Remove errors if plugin executable not available
2019-07-30 08:50:41 +02:00
Brandon Waskiewicz
9735ad7b5c
Ensure node paths are appended to existing $PATH
2019-07-29 14:07:34 -04:00
Martin Lariz
12c49bd22f
Remove errors if plugin executable not available
2019-07-29 07:07:58 -07:00
Arunvel Sriram
ef31690b07
Add helper function to add all ssh private keys to agent
2019-07-27 22:51:15 +05:30
Ahmed Masud
ce935801a3
Fixed test of whether or not current session is interactive
2019-07-06 16:53:45 -04:00
Nils Winkler
9b4a049571
Merge pull request #1371 from trmaphi/add-osx-plugin-for-jvms
...
Add plugin list jvms and pick default system-wide
2019-05-06 08:07:55 +02:00
Ira Abramov
abecfdd3b7
Fix the git plugin to work on OSX+brew
2019-04-28 14:44:13 +03:00
Truong Ma Phi
9945e078b3
Add plugin list jvms and pick default system-wide
2019-04-28 17:44:22 +07:00
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