Commit Graph

276 Commits (871ef0487ca691a9a71989d0e25184b92839e45c)

Author SHA1 Message Date
Noah Gorny 17a53ca368 Fix newline and trailing space issues 2020-12-16 20:20:34 -08:00
Noah Gorny 5be478e4e5 Convert files with spaces and tabs to only spaces 2020-12-16 20:20:34 -08:00
Ira Abramov ebe8f8765d Fix EOF 2020-12-16 20:20:34 -08:00
Ira Abramov 0125bfc8cc Removed trailing whitespaces 2020-12-16 20:20:34 -08:00
Noah Gorny f4e83318ca 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-12-16 20:20:34 -08:00
Noah Gorny c54dc0b3e4 completion: Add --silent and -s completion 2020-12-16 20:20:34 -08:00
Noah Gorny 2d7612bc84 completion: Update completion for new bash-it update
Also fix the update completion test
2020-12-16 20:20:34 -08:00
Noah Gorny 1069a1e102 Add bash-it restart command
Also add completion and completion tests
2020-12-16 20:20:34 -08:00
Grzegorz Szczudlik ea40e91081 Add Kind support 2020-12-16 20:20:34 -08:00
Noah Gorny 039ee0b269 Remove deprecated and unused gh completion/plugin 2020-12-16 20:20:34 -08:00
Noah Gorny c2566f26bd completion: github: Use _log_warning instead of simple echo 2020-12-16 20:20:34 -08:00
Travis Swicegood f297a98649 Update based on @nwinkler's feedback 2020-12-16 20:20:34 -08:00
Travis Swicegood 22f666f028 Add GitHub CLI completion 2020-12-16 20:20:34 -08: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