Commit Graph

448 Commits (52b5e4f32b70bb974d26d39b95e69a7677531ec2)

Author SHA1 Message Date
Noah Gorny 4607ee7452
Merge pull request #1836 from buhl/django-complete
vendoring django completion
2021-02-13 10:30:31 +02:00
buhl 0e77a94140 Vendored django completion 2021-02-09 11:01:37 +01:00
buhl 7fb7e27921 Added vendored apm completion 2021-02-08 16:05:45 +01:00
Noah Gorny 2d56cc4167
Merge pull request #1788 from tbhaxor/lint/notify-send-completion
Lint/notify send completion
2021-02-08 10:24:24 +02:00
Noah Gorny 25c1c8978e
Merge pull request #1807 from NoahGorny/cleanup/composer-completions
formatted composer completion and used helper function
2021-02-06 23:32:58 +02:00
cornfeedhobo 6870abc4fc
ensure go completion works well with goenv 2021-02-06 14:34:24 -06:00
Noah Gorny e4f6006797 completion: composer: Rename _composer->__composer_completion 2021-02-06 20:37:28 +02:00
Noah Gorny 0d963b224f completion: composer: Remove uneeded local "scripts" var 2021-02-06 00:23:31 +02:00
Noah Gorny e9f28ff745 completion: composer: Add shellcheck directives 2021-02-06 00:23:31 +02:00
Gurkirat Singh dbfcb431a8 formatted composer completion and used helper function 2021-02-06 00:23:31 +02:00
Gurkirat Singh 1d2a2fcd9a added completion for notify-send command 2021-02-06 00:23:14 +02:00
Noah Gorny e8dc0f7434 deprecation: Replace errors with warnings
Deprecated component is not an error, but instead should be a warning to
the user
2021-01-29 16:06:53 +02:00
Noah Gorny 2500fe7dda docker-machine: Deprecate both plugin and completion file 2021-01-29 16:06:51 +02:00
Noah Gorny b6d95c71ce completion: lerna: Add shellcheck ignore directive 2021-01-28 20:53:34 +02:00
Gurkirat Singh 69e5a28ed3 formatted lerna completion and used helper function 2021-01-28 20:53:34 +02:00
Gurkirat Singh 3d3322d0c9 formatted npm completion and used helper function 2021-01-28 19:23:56 +02:00
Gurkirat Singh 645054a8c4 formatted minikube completion and used helper function 2021-01-28 19:18:36 +02:00
Gurkirat Singh 202531321d formatted kubectl completion and used helper function 2021-01-28 18:57:00 +02:00
Gurkirat Singh d4bf4e6a89 formatted kontena completion and used helper function 2021-01-28 18:32:51 +02:00
Gurkirat Singh 714bf84528 formatted jungle completion and used helper function 2021-01-28 18:10:25 +02:00
Noah Gorny 42695c22d0 completion: gem: Fix completion file 2021-01-28 17:55:51 +02:00
Gurkirat Singh a8695edc8f formatted gem completion 2021-01-28 17:55:50 +02:00
Noah Gorny 5df1e653d9 completion: pip: Lint all pip files and clarify comment 2021-01-28 17:46:22 +02:00
Gurkirat Singh 7959acddd9 formatted pip pip3 and pipenv completion and used helper functions 2021-01-28 17:45:06 +02:00
Noah Gorny adc77bb622 completion: Lint github-cli completion and use completion_exists 2021-01-28 17:40:35 +02:00
Gurkirat Singh 759cdd5a6d formatted github-cli completion 2021-01-28 17:40:20 +02:00
Gurkirat Singh 9915f85e8b formatted helm completion and used helper function 2021-01-28 17:30:26 +02:00
Noah Gorny 067149725d completion: Add about-completion to gcloud 2021-01-28 17:18:52 +02:00
Gurkirat Singh ba5700e555 formatted gcloud completion and used helper function 2021-01-28 17:18:51 +02:00
Noah Gorny 2e3cf0b3c0 completion: Lint docker completion and add about-completion 2021-01-28 17:03:25 +02:00
Gurkirat Singh 846a576978 formatted consul completion and used helper function 2021-01-28 16:35:55 +02:00
Gurkirat Singh f9bc244718 formatted conda completion and used helper function 2021-01-28 16:27:34 +02:00
Gurkirat Singh b93ac7785c formatted awless completion and used helper function 2021-01-28 16:19:48 +02:00
Noah Gorny 37a7fac128 completion: brew: Add shellcheck ignore directives 2021-01-28 16:09:02 +02:00
Gurkirat Singh 1d569573da formatted brew completion 2021-01-28 16:09:00 +02:00
Noah Gorny 70f0111f69 completion: vue: Remove uneeded condition
Also move the shellcheck warnings to be on their respective line
2021-01-23 23:14:24 +02:00
Gurkirat Singh 812efaab90 added vuejs completion in clean_files 2021-01-23 23:14:24 +02:00
Noah Gorny a0ea33d671
Merge pull request #1778 from tbhaxor/bugfix/vue-routes
fixed existing completion and added conditional completion
2021-01-13 19:06:10 +02:00
Marcos Pereira 08ff08e043
Support multiple sdkman output formats
sdkman has a specific output format for Java candidate since
there are multiple vendors and builds. For example, when running
`sdk list maven`, the format is a simple list like:

    3.6.2
    3.6.1
    3.6.0
    3.5.4
    3.5.3
    3.5.2
    3.5.0
    3.3.9

But for `sbt list java`, the output is a table like:

    ================================================================================
     Vendor        | Use | Version      | Dist    | Status     | Identifier
    --------------------------------------------------------------------------------
     AdoptOpenJDK  |     | 15.0.1.j9    | adpt    |            | 15.0.1.j9-adpt
                   |     | 15.0.1.hs    | adpt    | installed  | 15.0.1.hs-adpt
     ...
     Amazon        |     | 15.0.1       | amzn    |            | 15.0.1-amzn
                   |     | 11.0.9       | amzn    |            | 11.0.9-amzn
     ...
     Azul Zulu     |     | 15.0.1       | zulu    |            | 15.0.1-zulu
                   |     | 15.0.1.fx    | zulu    |            | 15.0.1.fx-zulu
     ...

Therefore, the completion script has to handle both formats.
2021-01-11 11:16:15 -05:00
Gurkirat Singh 6065d003e8
fixed existing completion and added conditional completion 2021-01-10 00:34:14 +05:30
David Farrell e932d8371f
Add hooks to check .sh and .bash headers - Fixes #1491 (#1765)
* Add hooks to check .sh and .bash headers
* Adds hooks/ to clean_files.txt
2021-01-09 18:02:26 +02:00
Marcos Pereira fe7d3ef177
Format sdkman bash completion with shfmt 2021-01-08 16:42:18 -05:00
Marcos Pereira 56348b1a12
Add sdkman bash completion to clean_files 2021-01-08 16:38:08 -05:00
Marcos Pereira 5ca2c43aed
Add support to newer versions of sdkman
Some new commands are available, and also aliases
for commands such as `i` for `install`.
2021-01-04 18:18:13 -05:00
Noah Gorny 8e73b538ea Deprecate homesick completion as it is unlicensed 2020-12-29 21:49:47 +02:00
Noah Gorny 012552d8b7 Deprecate drush completion as it is GPLv2 2020-12-29 21:49:47 +02:00
Noah Gorny a369cc7c0a Deprecate virsh completion as it is GPLv2 2020-12-29 21:49:47 +02:00
Noah Gorny cd44880c15 Deprecate todo completion scripts as it is GPLv3 2020-12-29 21:49:47 +02:00
Noah Gorny 292da7ef77 Add license notice to jboss7 completion 2020-12-29 21:49:47 +02:00
Noah Gorny 59439c2f62 Add license notice to docker-machine/compose completion 2020-12-29 21:49:47 +02:00
Noah Gorny 8cc7327c0b Add license notice to salt completion 2020-12-29 21:49:47 +02:00
Noah Gorny 5188b3b0c0 Add license notice to gulp and grunt completion 2020-12-29 21:49:47 +02:00
Noah Gorny 334005ead3 Clean up vault completion and add to clean_files.txt 2020-12-29 21:49:42 +02:00
Noah Gorny 6eb5802080 Add license notice to hub completion 2020-12-29 21:49:10 +02:00
Noah Gorny 3ba1a14eb9 Remove broken link from tmux completion 2020-12-29 21:49:10 +02:00
Noah Gorny f4f229573d Clean up packer completion and add to clean_files.txt 2020-12-29 21:49:10 +02:00
Noah Gorny 6a69931240 Add license to invoke completion 2020-12-29 21:49:10 +02:00
Noah Gorny f221cdca9e Clarify license on bundler completion 2020-12-29 21:49:10 +02:00
Noah Gorny 17211b0b1a Add license to apm completion script 2020-12-29 21:49:10 +02:00
Noah Gorny 2329b4395b Add license notice to gradle completion 2020-12-29 21:49:10 +02:00
Noah Gorny 3a2ccd3792 Add license notice to django completion 2020-12-29 21:49:10 +02:00
Ira Abramov 5a85126241 complete cleanup of the knife completion file 2020-12-07 18:06:27 +02:00
Ira Abramov 6bcabb1503 Merge branch 'master' into ira/fix-knife-load
* master:
  github: Add no-response bot
  Update contribution.rst
  Add cargo completion
  Add completion for pipx. (#1719)
  Add github action to replace travis
  Address some comments.
  Add in_toolbox prompt to powerline themes
  Update atomic.theme.bash
  Add rustup completion to clean_files.txt
  Add rustup completion
  Move README to be under docs/
  docs: Transition md files to support new rtd format
  pre-commit: Exclude docs _build folder
  Add aliases for GIT-SVN (rebase and dcommit)
2020-12-07 17:33:54 +02:00
Nariyasu Heseri 4d51bfcaf4 Add cargo completion 2020-12-06 15:22:36 +09:00
NariyasuHeseri 4a5ea95e2e
Add completion for pipx. (#1719)
* Add completion for pipx.

* Add pipx  completion to clean_files.txt.

* Format pipx.completion.bash to match the project's coding style.

* Format pipx.completion.bash with ./lint_clean_files.sh.
2020-12-05 18:33:50 +02:00
Noah Gorny 06b1ffecc0 Add rustup completion 2020-11-20 13:01:25 +02:00
Ira Abramov d84d6a8356 Add a credit comment 2020-11-08 18:48:29 +02:00
Ira Abramov f5fe3dbeb0 shell-check fixes 2020-11-08 17:57:54 +02:00
Ira Abramov 689758cf71 pre-commit fixes. 2020-11-08 17:40:45 +02:00
Ira Abramov 889259dfec Cut 30s vrom the knife completion init time. 2020-11-08 17:33:21 +02:00
Noah Gorny 1f5d9b757f Fix newline and trailing space issues 2020-10-29 19:57:14 +02:00
Noah Gorny 507e4bec82 Convert files with spaces and tabs to only spaces 2020-10-29 19:57:14 +02:00
Ira Abramov 3a1283dad5 Fix EOF 2020-10-29 19:57:14 +02:00
Ira Abramov c42e3e8b21 Removed trailing whitespaces 2020-10-29 19:57:14 +02:00
Noah Gorny 8a36f21ca1 Add _binary_exists and use in github-cli completion
gh was also used as an git alias, and caused _command_exists to not fail as expected
2020-10-21 00:14:11 +03:00
Noah Gorny c387517122
Merge pull request #1626 from NoahGorny/update-to-stable-or-unstable
bash-it update to stable or dev
2020-10-16 14:16:06 +03:00
Nils Winkler 27702f648c
Merge pull request #1672 from NoahGorny/bash-it-reset
Add bash-it restart command
2020-10-16 08:42:38 +02:00
Grzegorz Szczudlik ecef6ed008 Add Kind support 2020-10-15 10:27:18 +02:00
Noah Gorny 2fd1cd66e4 completion: Add --silent and -s completion 2020-10-13 14:42:02 +03:00
Noah Gorny 1bdcacf242 completion: Update completion for new bash-it update
Also fix the update completion test
2020-10-13 14:42:02 +03:00
Noah Gorny f4279e63c1 Add bash-it restart command
Also add completion and completion tests
2020-10-12 15:29:36 +03:00
Noah Gorny 92a1310bc2 Remove deprecated and unused gh completion/plugin 2020-10-10 02:54:58 +03:00
Noah Gorny e010512dee completion: github: Use _log_warning instead of simple echo 2020-10-10 02:41:45 +03:00
Travis Swicegood 582ea5c260 Update based on @nwinkler's feedback 2020-10-10 02:39:05 +03:00
Travis Swicegood 11819278b4 Add GitHub CLI completion 2020-10-10 02:36:17 +03:00
cornfeedhobo f40bfa80f1
system completion nitpicks
- General cleanup of system completion
- Use homebrew's completion loading script instead
- Deprecate completions covered by system
- Adjust load priority of brew to happen after system
2020-09-21 09:07:09 -05:00
Nils Winkler 230bafd0d1
Fixed OS comparison for macOS
This was always failing on macOS instead of working there...

See #1635 for the original commit that introduced this issue.
2020-08-10 09:06:36 +02:00
Kan Li 41084ee678
Fix error "bash: _git_bash_completion_found: command not found..." 2020-08-08 22:09:43 -07:00
cornfeedhobo 42e9017df3
simplify git completion to use system-provided completions only (#1635)
* simplify git completion to use system-provided completions only

* support ubuntu git completion

* only search non-system paths

* only operate on macos.

* no need to return 1 in a plugin

* make alias test happy

* make alias test happy

* make alias test happy

* pass exit code when capturing expected errors

* slightly more understandable code structure

* make better use of the new logging feature
2020-08-08 22:14:41 +02:00
cornfeedhobo e4b856b67b
use terraform to complete itself 2020-08-03 17:41:21 -05:00
cornfeedhobo 4734505af8
add logging for improperly prepared environments and better error handling. 2020-07-12 16:20:50 -05:00
KID the Euforia e9c01e1843
completion/ssh: support sftp command
Signed-off-by: KID the Euforia <kid0725+github@gmail.com>
2020-07-09 18:51:48 +09:00
Noah Gorny 1e674643b3 completion: Add bash-it doctor completion
Also fix the tests and add a new one
2020-06-23 15:12:43 +03:00
cornfeedhobo 3188f635e2
source distro provided docker completion 2020-05-18 15:01:57 -05:00
David Farrell f8a1877c72
completion/git: Updates completion script to v2.26.2 2020-04-21 11:25:37 -07:00
Uco Mesdag 862b99896d
Updated openshift completion to use _command_exists and removed duplicate oc completion 2020-04-21 15:00:14 +02:00
All Your Code 313e9bd51b
Added Minishift completion (#1566)
* Added Minishift completion

* Instead of copy pasting the output, using the output directly

* Replaced which command with _command_exists
2020-04-21 08:32:20 +02:00
All Your Code 06cc400229
Added OC completion (#1567)
* Added OC completion

* Instead of copy pasting the output, using the output directly

* Replaced which command with _command_exists
2020-04-21 08:30:26 +02:00
Nils Winkler 6b4970136b Added a check for the ng command in ng completion
See #1542, #1543
2020-04-06 16:14:27 +02:00
Gurkirat Singh 5ad244da87
Update ng.completion.bash 2020-04-02 18:59:10 +05:30
All Your Code 287d9d4b4f
Update vagrant.completion.bash
Fixed command options changes of the Vagrant command. Completion has been broken for a while, especially the snapshot options.
2020-03-22 15:12:40 +01:00
cornfeedhobo 2e4c4ad29a
enhance makefile completion - remove hash bang 2020-02-21 22:29:14 -06:00
cornfeedhobo 239f708637
enhance makefile completion - remove use of find 2020-02-21 22:27:56 -06:00
cornfeedhobo 552cd89851
enhance makefile completion - shortcircuit early when nothing is found 2020-02-21 13:09:08 -06:00
cornfeedhobo 9d97532f8e
enhance makefile completion and make shellcheck happy 2020-02-21 12:56:00 -06:00
cornfeedhobo b70c02c4ae
enhance makefile completion to support multiple files and gnumake 2020-02-21 12:16:57 -06:00
John McBride 0a0e2ff285 Revert to using env for invoking bash
Signed-off-by: John McBride <jpmmcbride@gmail.com>
2020-02-14 17:40:14 -07:00
John McBride afae3f8d25 Shellcheck double quote env variable
Signed-off-by: John McBride <jpmmcbride@gmail.com>
2020-02-14 14:36:03 -07:00
John McBride 6c01792cba use gocomplete tool for go tool bash completion
Signed-off-by: John McBride <jpmmcbride@gmail.com>
2020-02-14 14:30:19 -07:00
Nils Winkler d8d6109e43
Fix macOS sed in SSH completion
See here for details: b5f666d467
2020-01-23 08:36:53 +01:00
Nils Winkler 0b4762239f
Merge pull request #1474 from damienmascre/contributing
SSH completion : corrects the inclusion file list by properly interpreting the paths s…
2020-01-16 12:55:46 +01:00
Hongyi Zhao d54577f992 touch up
modified:   completion/available/pip.completion.bash
modified:   completion/available/pip3.completion.bash
2020-01-09 23:41:04 +08:00
Hongyi Zhao d85a254429 Fix the completion for pip/pip3 2020-01-09 23:20:28 +08:00
Damien MASCRÉ b5f666d467 Corrects the inclusion file list by properly interpreting the paths specified in the Include directive of the ssh_config, aka paths relative to the ~/.ssh folder. 2020-01-07 13:20:01 +01:00
Nils Winkler b9af75a494
Merge pull request #1469 from hongyi-zhao/master
Fix completion/available/brew.completion.bash

Closes #1458
2019-12-30 17:11:23 +01:00
Muhammad Muhammad Ibrahim 4721cdfdac Update bundler completion from @mernen 2019-12-27 05:40:57 +02:00
Hongyi Zhao 6f2376daa2 touch up completion/available/brew.completion.bash 2019-12-19 16:53:24 +08:00
Hongyi Zhao 7c73b22e75 fix completion/available/brew.completion.bash for the git-clone based installation 2019-12-19 16:45:39 +08:00
Gurkirat Singh 00030bfed5 added laravel completions 2019-11-27 19:04:23 +05:30
wukuan405 cf86219418 updated hub completion 2019-10-28 12:26:06 +09:00
Nils Winkler b252f8ebc3
Merge pull request #1388 from leventyalcin/feature/consul_completion
tab completion for Hashicorp consul
2019-07-08 08:43:57 +02:00
Ti Leggett cf39dc4257 added slogin to list of ssh completion commands 2019-07-04 10:52:19 -05:00
Levent Yalcin 2cd06962d3
tab completion for Hashicorp consul 2019-06-14 13:57:07 +01:00
Gurkirat Singh 955a9dd86d added thanks message to original author 2019-06-03 14:06:05 +05:30
Gurkirat Singh 371c2e9834 added sqlmap completion 2019-05-31 23:30:55 +05:30
Travis Swicegood 1bdcc66d5a Rename to .completion.bash so it can be disabled correctly 2019-05-24 15:14:13 -05:00
Travis Swicegood 93905c3663 Add gcloud completion 2019-05-24 15:10:48 -05:00
Jason Al-Mansor 2c0bde3a22 fix path to use brew prefix env var 2019-04-26 11:12:53 -04:00
Jason Al-Mansor 15b3281445 adding env var for bash-completion@2 compatibility 2019-04-26 11:03:44 -04:00
trmaphi c8b4ffbac1 Update bash completion for git v2.21.0 2019-04-05 16:38:18 +07:00
Nils Winkler 15f25a88d5
Merge pull request #1349 from brianphillips/helm-completion
Add support for helm completion
2019-03-27 08:47:37 +01:00
Brian Phillips 918ccd25d6 Add support for helm completion
Signed-off-by: Brian Phillips <bpphillips@gmail.com>
2019-03-26 10:04:19 -05:00
Truong Ma Phi df011d7ab6 Update docker machine completion 2019-03-22 16:21:55 +07:00
Truong Ma Phi 4329da109e Update docker compose collection 2019-03-22 16:21:45 +07:00
Truong Ma Phi 7156011f83 Update docker completion 2019-03-22 16:21:29 +07:00
tbhaxor 93348838a1
bug fix in wpscan args 2019-03-10 08:19:14 +05:30
tbhaxor 29f79dfa75
🐛 fix 2019-02-25 16:45:52 +05:30
tbhaxor 50aebc5c6e
fixed code style 2019-02-25 16:44:54 +05:30
tbhaxor 1e17fa1fd2
added flutter completions 2019-02-24 21:24:13 +05:30
Nils Winkler 7a5b797da1
Merge pull request #1302 from tbhaxor/wpscan-completion
added wpscan completions
2019-01-07 08:31:23 +01:00
tbhaxor a636f602c8
added main option 2019-01-07 01:23:00 +05:30
tbhaxor 508f82eb95
added vuejs completions 2019-01-07 01:18:37 +05:30
tbhaxor fe8f5e42d0
added wpscan completions 2019-01-07 01:10:21 +05:30
Travis Swicegood 703105c562
Merge pull request #1230 from Bash-it/feature/add-crystal
Add Crystal auto-completion on Mac
2018-12-02 20:51:09 -06:00
Travis Swicegood 6706814dbc Adjust so this only runs when Homebrew is installed (thanks @nwinkler) 2018-12-02 20:44:00 -06:00
Ira Abramov 75564a050f Add completions for Opscode Chef's knife command 2018-11-15 10:35:17 +02:00
Septian Dwic 7661b561bf
Fix `fabric-completion.bash` to `fabric`
When a `bash-it show completion` command is executed
2018-10-26 17:33:53 +07:00
William A. O. Brown b9c34cb9c2 Remove some comments 2018-10-25 21:40:57 +01:00
William A. O. Brown 9040359f6c Add Lerna completion options 2018-10-25 21:37:35 +01:00
Kelly Stannard e69d1b82d8
further bundle exec completion
examples:
`bundle exec rsp` + TAB => `bundle exec rspec`
`bundle exec rspec --no` + TAB => `bundle exec rspec --no-color`
2018-10-03 10:02:44 -04:00