Mike Fiedler
23da5508cc
Reduce subshell forks with variable
...
By following the established pattern in https://github.com/Bash-it/bash-it/blob/master/completion/available/system.completion.bash#L17-L22
we can reduce the amount of `fork` calls that are made.
Signed-off-by: Mike Fiedler <miketheman@gmail.com>
2017-09-28 07:13:45 -04:00
Mike Fiedler
cbe63e8871
Replace system completion with current brew file
...
Resolves #1046
Signed-off-by: Mike Fiedler <miketheman@gmail.com>
2017-09-28 06:36:30 -04:00
Nils Winkler
1a80d892ad
Made sorting of completions consistent across OS
2017-09-17 21:05:59 +02:00
Nils Winkler
5c66f478dd
Completed test suite for Bash-it completion
2017-09-17 21:05:58 +02:00
Nils Winkler
cd578f8772
More tests for completion
2017-09-17 21:05:58 +02:00
Nils Winkler
757d2b4ed9
Removed unused variable
2017-09-17 21:05:58 +02:00
Nils Winkler
c786c14859
Fixed "bash-it help aliases" completion - it will now show the available aliases
2017-09-17 21:05:58 +02:00
Nils Winkler
e0dc7997c8
Fixed handling of components with dashes or dots in the name for completion
2017-09-17 21:05:58 +02:00
Nils Winkler
ec327486ef
Checking global directory for completions as well
2017-09-17 21:05:58 +02:00
Nils Winkler
607c9cd049
Cleaned up declarations
2017-09-17 21:05:58 +02:00
Nils Winkler
22674ce1e0
Replaced -e glob-based implementation with ls
2017-09-17 21:05:58 +02:00
Nils Winkler
a925f5d58c
Checking for global directory when looking for components that are not enabled
2017-09-17 21:05:58 +02:00
Nils Winkler
752d4afe41
Tabs to spaces
2017-09-17 21:05:58 +02:00
Nils Winkler
7a3603f80d
Sorting compgen output so that the returned values are in ascending order
2017-09-17 21:05:58 +02:00
Nils Winkler
e7298a5303
Fixed case where nothing was enabled
2017-09-17 21:05:58 +02:00
Moritz Onken
dffddbb4a4
add nospace and = suffix
2017-09-15 23:42:03 -04:00
Moritz Onken
e90787c78a
Create export.completion.bash
2017-09-15 23:35:20 -04:00
Yushin Washio
d98a0038d3
bash-it.completion suppress ls error when none found
2017-08-17 17:08:58 +05:00
Levent YALCIN
a6fccf029c
no need a var
2017-07-31 15:26:05 +01:00
Levent YALCIN
878180b2e2
tab completion support added for openshift
2017-07-31 15:23:34 +01:00
Nils Winkler
f221f63d7d
Add completion for help command, and help for migrate
2017-06-24 17:31:31 +02:00
Nils Winkler
0d9a0987d9
Fixed missing quotes around $BASH_IT variable
...
This should fix most issues where Bash-it is installed in a directory
containing spaces.
2017-06-24 17:31:30 +02:00
Nils Winkler
c2446c2692
Added new "bash-it migrate" command that migrates components from the old syntax to the new one that uses the load priority
2017-06-24 17:31:30 +02:00
Nils Winkler
56d0f56714
Filter out items that are already enabled
2017-06-24 17:31:30 +02:00
Nils Winkler
2e0ceba776
Supporting both old and new link structure for completion
2017-06-24 17:31:30 +02:00
Carlo Dapor
8a09c5f0d5
New completion for Angular CLI.
2017-03-24 22:50:22 +01:00
Nils Winkler
3ab632aa1d
Merge pull request #928 from LanikSJ/rvm-completion
...
Add RVM Completion
2017-03-24 09:43:47 +01:00
LanikSJ
8d329bd610
Remove the function as it's not needed now
2017-03-24 01:41:48 -07:00
LanikSJ
c18d4338e6
Removing redundant lines
2017-03-24 01:36:24 -07:00
LanikSJ
4d0815329a
Adding source of RVM Completion
2017-03-23 16:10:22 -07:00
LanikSJ
5cd496813e
Adding RVM Completion
2017-03-23 15:57:27 -07:00
con-f-use
43a63965ee
Alias and complete common misspellings of bash-it
2017-03-17 20:29:02 +01:00
LanikSJ
7d11a9d935
Adding pip3 completion
2017-03-06 16:04:42 -08:00
Nils Winkler
734ab9729f
Merge pull request #878 from ierenstein/vault-update
...
Adding new updates for vault completions
2017-01-03 08:20:34 +01:00
Ilan Erenstein
0a84ca584e
Adding new updates for vault completions
2017-01-02 14:41:35 -08:00
MunifTanjim
f772ebef4a
add completion for composer
2016-12-25 13:15:50 +06:00
Patrice Ferlet
d057865c24
Add Makefile completion
...
Sometimes, Makefile won't be completed (as for me on Fedora 25) as soon as bash-it is activated. This completion script can provide a Makefile completion.
2016-12-21 10:20:36 +01:00
Ilan Erenstein
8669576493
Adding latest vault completion from https://github.com/iljaweis/vault-bash-completion
2016-12-15 11:31:30 -08:00
Patrice Ferlet
8161e4e233
Add other bash completion importation for other distribution
...
Fedora import that script from /etc/bashrc script that can import /etc/profile.d/*.sh
See issue #849
2016-12-07 00:11:29 +01:00
George Wyatt
971f911101
Load bash-completion2 on macOS
...
This is required for projects completion, otherwise you get this error:
```
_init_completion: command not found
```
2016-11-25 13:51:25 +08:00
Levent YALCIN
4362569079
new cmds come with 0.7.x
2016-11-21 09:14:08 +00:00
Nils Winkler
ea2a259d32
Merge pull request #839 from MunifTanjim/add_go_completion
...
add go completion
2016-11-21 08:30:48 +01:00
MunifTanjim
21988639a9
add go completion
2016-11-19 22:57:03 +06:00
MunifTanjim
25eb084ff7
update hub completion
2016-11-19 03:00:56 +06:00
Levent YALCIN
d85b6e67f0
scp should have completion too
2016-11-15 22:21:04 +00:00
Ilan Erenstein
8ac4093276
Adding credit to the author of vault completion
2016-11-04 09:20:11 -07:00
Ilan Erenstein
120b1616d5
Adding vault completion
2016-11-03 14:47:58 -07:00
Eduardo Bellido Bellido
dfad0069c1
Add jungle completion
...
https://github.com/achiku/jungle
2016-10-29 22:24:58 +02:00
MunifTanjim
6a601abc84
fix npm completion
2016-10-28 02:37:07 +06:00
Nils Winkler
553414213f
Renamed completion files to match naming pattern
2016-10-11 10:02:56 +02:00
Nils Winkler
3a7ca290da
Merge pull request #795 from MunifTanjim/nvm_completion
...
add completion for nvm
2016-10-10 09:35:49 +02:00
MunifTanjim
66e8da02a5
fix correction for nvm according to PR comments
2016-10-10 13:33:07 +06:00
Nils Winkler
d1f672599d
Merge pull request #799 from MunifTanjim/improve_todo_completion
...
update completion for todo to latest version
2016-10-10 08:41:20 +02:00
MunifTanjim
0387343108
update completion for todo to latest version
2016-10-09 04:12:24 +06:00
MunifTanjim
192e6900e1
add completion for apm
2016-10-09 01:02:23 +06:00
MunifTanjim
4180f80dce
add completion for nvm
2016-10-07 21:34:53 +06:00
Manoj
08526f2647
Add completion for kubectl
2016-09-19 11:40:26 +05:30
Levent YALCIN
158078a94d
kontena.io cli tab completion added
2016-07-31 23:51:00 +01:00
Cheong Yip
62e07f8f70
Update docker & add docker-compose/docker-machine CLI completion
...
CLI completions are from:
- docker : https://github.com/docker/docker/blob/master/contrib/completion/bash/docker
- docker-compose : https://github.com/docker/compose/blob/master/contrib/completion/bash/docker-compose
- docker-machine : https://github.com/docker/machine/blob/master/contrib/completion/bash/docker-machine.bash
2016-07-10 12:36:17 +10:00
Sardorbek Imomaliev
71bbd9d41a
fix tmux-completion when trying to use withiout running server
2016-05-31 21:44:08 +06:00
przepompownia
9103f4e758
Replace static command list by generated.
...
It requires version 2.1 of tmux
2016-05-28 22:31:24 +02:00
Paul Dapolito
28c6d17632
Updating git.completion.bash to latest version from git source code mirror.
2016-04-08 09:38:06 -07:00
Tomáš Havlas
b835b3d9ce
Added support for multiple aliases/hosts in single line for ssh completion and plugin
2016-03-25 23:29:33 +01:00
Konstantin Gredeskoul
fd3d305fad
Faster search, and cleaner completion
2016-03-24 02:54:30 -07:00
Konstantin Gredeskoul
c0a657270c
Add bash-it search functionality
...
- "bash-it search term1 [term2]...."
- we are using existing 'bash-it show plugins|aliases|completions'
commands output, to search (with grep) for lines that match the
search terms, and then output the matches.
- wrote a simple unit test that for whatever reason fails on Travis,
so wrapped it in 'if "Darwin"'...
2016-03-23 23:13:51 -07:00
Eduardo Bellido Bellido
2911f88cf2
Use the same parsing_command for OSX and Linux
2016-02-19 00:35:45 +01:00
cornfeedhobo
85e7e408aa
added menu and error messages to projects plugin. indentation cleanup to conform to editorconfig.
2016-02-12 09:05:22 -06:00
Nils Winkler
8d2cc7e251
Merge pull request #659 from edubxb/update-command
...
Add update subcommand
2016-02-10 08:16:33 +01:00
Frank Becker
0c55ed892c
fixed version completion for sdkman 3.3.2
2016-02-06 12:18:02 +01:00
Eduardo Bellido Bellido
5c6de8ca67
Add new udpate command to Bash it completion
2016-02-05 18:48:32 +01:00
Nils Winkler
d938d15f9d
Merge pull request #398 from ancho/gvm_completion
...
added sdk(man) completion and plugin
2016-02-04 13:03:25 +01:00
James Cuzella
219832bc56
Adding docker command line client completion from https://github.com/docker/docker/blob/master/contrib/completion/bash/docker
2016-01-08 17:53:25 -07:00
Nils Winkler
38bd3a3b99
Loading Homebrew Bash Completion if installed
...
In addition to the regular /etc/bash_completion, the one from Homebrew
is loaded when running on OS X, and when Homebrew is installed.
Also added the system completion to the default install options, since
this is a feature that's requested frequently.
2016-01-05 07:35:02 +01:00
was4444
25940111e8
fix wrong syntax
2016-01-04 18:42:40 +08:00
wxf
56fdb6333c
support system completion
2016-01-01 15:46:53 +08:00
Raphael Parree
6515ff4007
Added jboss 7 completion
2015-12-14 17:03:35 +01:00
Sebastian Just
f2acd20356
Added simple support for terraform
...
Not providing help for the speicifc commands yet but at least complete
the available commands as a starting point
2015-12-07 14:52:56 -05:00
Frank Becker
e2a596b708
renamed gvmtool to sdkman
2015-11-16 16:13:32 +01:00
Frank Becker
5738e5d45e
added outdated command to gvmtool completion
2015-11-16 16:13:11 +01:00
Frank Becker
73d2b4f87e
gvmtool completion - determine local installed versions
2015-11-16 16:12:23 +01:00
Eduardo Bellido Bellido
e8e01b5794
Add awscli completion
2015-10-28 23:51:05 +00:00
Nils Winkler
18836b1a0c
Merge pull request #588 from crazygit/upstream
...
add bulk enable or disable function
2015-10-27 10:42:19 +01:00
Eduardo Bellido Bellido
25ef4e1275
Add gradle completion
...
Code borrowed from gist:
https://gist.github.com/nolanlawson/8694399
2015-10-22 22:54:13 +02:00
crazygit
a42e5f4d73
add bulk enable or disable function
2015-10-23 00:07:35 +08:00
cornfeedhobo
8744f6899c
fixed to not also include the current directory
2015-09-30 01:32:47 -05:00
cornfeedhobo
c74378632f
added projects plugin and completion
2015-09-26 18:32:01 -05:00
Eduardo Bellido Bellido
6799b151d4
Add hub plugin and completion
2015-09-06 19:18:14 +02:00
Travis Swicegood
1bbf8204b6
Add bundler completion from @mernen
2015-09-01 10:47:16 -05:00
Nils Winkler
33307c7360
Merge pull request #550 from simonfiddaman/master
...
Skip ssh hashed hosts
2015-08-27 08:54:53 +02:00
Nils Winkler
2b483010d2
Merge pull request #415 from websi/capistrano_v3
...
Add the compatibility for capistrano gem version 3
2015-08-27 08:13:40 +02:00
Simon Fiddaman
6c82269121
Skip ssh hashed hosts
2015-08-20 17:37:46 +02:00
Antti Ahti
7d05e25dbb
npm autocompletion
2015-06-09 21:09:35 +03:00
Nils Winkler
60ce757151
Changed check for drush excecutable
...
This should help with #480...
2015-05-18 10:06:32 +02: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
7e5e2d9513
Merge pull request #455 from Bash-it/update-vagrant-completion
...
Updated vagrant bash completion
2015-04-22 07:54:32 +02: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
409e552970
Added completion for dirs plugin
2015-04-16 10:43:14 +02:00
Nils Winkler
d29d6df2f2
Added support for `bash-it help completions` command.
...
It's showing the same output as `bash-it show completions`,
to keep things simple.
2015-03-23 08:18:48 +01:00
Timo Webler
2195d3aa76
Add the compatibility for capistrano gem version 3
...
Use all tasks for completion
2015-02-19 13:26:23 +01:00
Antti Ahti
423e342282
Add --force-with-lease to git push autocompletion
2015-02-16 14:31:34 +02:00
Frank Becker
5d0ba9550f
rename gvm completion and plugin to gvmtool to avoid confusion with go version manager
2015-01-12 10:27:38 +01:00
Frank Becker
16933b7d4f
added gvm completion and plugin
2015-01-10 14:26:51 +01:00
Omer Katz
9be2500a31
Merge pull request #360 from thedrow/feature/vagrant-completion
...
Added vagrant bash completion.
2014-10-28 13:42:27 +02:00
Omer Katz
6b94231a08
Added vagrant bash completion.
2014-10-28 13:42:12 +02:00
Omer Katz
8bae8a1edb
Merge pull request #359 from thedrow/feature/testkichen-completion
...
Added test kitchen bash completion.
2014-10-28 13:41:44 +02:00
Omer Katz
d8fe912bdc
Added test kitchen bash completion.
2014-10-28 13:41:20 +02:00
Omer Katz
89fa1492b0
Merge pull request #358 from thedrow/feature/packer-completion
...
Added packer bash completion.
2014-10-28 13:40:47 +02:00
Omer Katz
e5ab35441d
Added packer bash completion.
2014-10-28 13:40:28 +02:00
Omer Katz
ce34c681d6
Merge pull request #357 from thedrow/feature/gulp-completion
...
Added gulp bash completion.
2014-10-28 13:39:55 +02:00
Omer Katz
730ebdfef2
Added gulp bash completion.
2014-10-28 13:39:20 +02:00
Omer Katz
21aed6d216
Merge pull request #356 from thedrow/feature/salt-completion
...
Added salt bash completion.
2014-10-28 13:37:32 +02:00
Omer Katz
c3e86a5421
Added salt bash completion.
2014-10-28 13:34:39 +02:00
Omer Katz
39e4a22f34
Merge pull request #352 from zanmato1984/mer
...
Add svn completion.
2014-10-28 12:26:44 +02:00
Omer Katz
461639923d
Merge pull request #179 from pierreozoux/virtualbox-completion
...
add virtualbox-completion
2014-10-28 12:12:29 +02:00
Omer Katz
f6ca23e30f
Merge pull request #348 from thedrow/feature/git-flow-avh-completion
...
Added the bash completion file for git flow AVH edition
2014-10-28 11:50:15 +02:00
ruoxi
7c1554ad38
Add svn completion.
2014-10-24 14:20:27 +08:00
Omer Katz
35db22cb32
Added the bash completion file for git flow AVH edition.
2014-10-17 17:30:33 +03:00
Omer Katz
3e874b4f78
Added the gh bash completion file.
2014-10-17 17:23:15 +03:00
Can Berk Güder
c7f3c65586
Updating git.completion.bash to latest version
2014-08-14 10:39:49 -07:00
Can Berk Güder
dcb72be784
Changing mode to 0644 on django.completion.bash
2014-08-14 10:39:37 -07:00
Travis Swicegood
8f0d0421fc
Add in conda tab-completion
2014-04-05 09:17:59 -05:00
Nils Winkler
bdc5729d23
Added completion for Homesick
...
(https://github.com/technicalpickles/homesick ). Originally from
https://github.com/liborw/homesick-completion .
2014-01-16 09:44:55 +01:00
John O'Gara
3b53623f64
Added parsing of /etc/hosts and support for username@host completion
2014-01-04 12:50:45 +00:00
Rob Loach
2c730cddee
Add Drush completion support
2013-12-30 17:51:48 -05:00
Travis Swicegood
80d7a80dea
Merge pull request #249 from websi/capistrano
...
Add bash completion support for Capistrano
2013-12-17 08:24:25 -08:00
Travis Swicegood
b65e0d0e40
Add in Grunt auto-completion
2013-12-13 17:21:31 -06:00
Timo Webler
ff3c47ed43
Add bash completion support for Capistrano
2013-12-04 13:42:58 +01:00
Ken Sheedlo
b9f7a817a4
Add pip completion
2013-05-22 00:37:24 -06:00
Pierre Ozoux
034c602c64
add virtualbox-completion
2012-12-17 09:49:51 +01:00
Nils Winkler
4261f3d8ec
Added completion (show, help, enable, disable) for the bash-it function
2012-11-13 14:16:21 +01:00
Travis Swicegood
688d321af2
Add Django auto-complete support
2012-09-06 13:52:19 -04:00
Erich Smith
40bfea2cf3
Merge pull request #114 from emilb/master
...
Added Maven completion file
2012-07-31 17:32:49 -07:00
Von Welch
e2e63c9662
Don't require tmux server to be running for completion to work.
2012-06-30 16:47:13 -04:00
Luiz Felipe
868fcd0c41
updating git.completion.bash
2012-05-10 14:52:04 -03:00
Emil Breding
86f59a5a2a
Added completion file for Maven
2012-04-25 21:58:33 +02:00
Eitan Adler
3fc60b5358
Fix bogus bash binary location
2012-04-17 00:24:58 -04:00
Travis Swicegood
39f8ef9875
add defaults autocompletion for OS X
2012-02-18 21:52:10 -06:00
Travis Swicegood
67f642f5b3
Merge pull request #102 from jpschewe/master
...
Found a bug in the tmux completion
2012-02-14 15:29:07 -08:00
Jon Schewe
9b866fa93c
Found another function that needs to be copied to tmux completion
2012-02-12 12:30:07 -06:00
Jon Schewe
98c9bc16a3
Add _filedir replacement
...
Turns out that _filedir isn't always defined. So bring our own version
in.
2012-02-12 12:14:48 -06:00
Travis Swicegood
8056192960
Add in Fabric auto-completion (thanks @underself).
...
Please see [underself/fabric-completion] for the original work that this
is based off of.
[underself/fabric-completion]: https://github.com/underself/fabric-completion
2012-02-11 15:48:48 -06:00
Travis Swicegood
f6d9325722
Fix a typo so new-session can be completed
2012-02-11 15:39:40 -06:00
Jon Schewe
92c97591be
Fix typo in option check
2012-02-11 14:48:09 -06:00
Jon Schewe
68b0392ce4
Merge remote-tracking branch 'upstream/master'
2012-02-10 21:02:28 -06:00
Jon Schewe
9e80864f84
Tmux completion
2012-02-10 21:01:10 -06:00
Nils Winkler
9df9ac3dec
Fixed SSH completion to include both config and known_hosts. Works on OS X for me if set up like that.
2011-11-01 08:27:37 +01:00
Victor Castell
484c57b7d2
Refactored gem completion to load gem lists on demand intead of on load
2011-07-25 13:47:03 +02:00
Mark Szymanski
f6950f9f7b
Add gem completion
2011-06-29 11:33:39 -05:00
Travis Swicegood
e115b4c5af
Move auto-complete code over to available -> enabled style
...
This continues the move toward the ability to turn things off with
everything turned on by default.
2011-06-21 09:20:40 -05:00
Anton Shemerey
b64d4bc0de
add path for bash completion
2011-05-26 23:21:34 +03:00
Florian Baumann
13edf326c4
added advanced ssh completion
2010-12-06 16:01:06 +01:00
Andy Shen
e0d8582c0b
ssh completion using .ssh/config
2010-12-04 11:03:33 +11:00
John Schulz
7ce4184c93
Alter test for `brew` to prevent false positive.
...
`brew` reports 'no brew found in ...' to `stdout` (at least on Solaris) resulting in a false positive.
2010-11-10 11:46:05 -05:00
Mark Szymanski
75bbdc44f4
Added completion support for todo.txt-cli
2010-10-27 17:32:06 -05:00
Robert R Evans
c9da086643
Removed custom.bash and am now completely ignoring all files within the custom directory. Started de-macify to provide more support for linux (thanks to alsemyonov on github).
2010-10-06 17:27:55 -07:00
Piotr Usewicz
7899cb4e8e
Fix brew completion
2010-10-06 13:53:00 +01:00
Piotr Usewicz
014e991098
Added Homebrew completion plugin
2010-10-06 13:38:04 +01:00
Robert R Evans
a4d0242dd0
Help files. Added the rest of bash it
2010-10-02 15:07:29 -07:00
Robert R Evans
a7d1ee0c02
Added help screens.
2010-10-02 15:04:24 -07:00
Robert R Evans
9c7cd9aa00
First Commit
2010-10-02 11:55:34 -07:00