Commit Graph

3416 Commits (a375e7131e3e4402ad2e81ae2701c9842ee1df2b)

Author SHA1 Message Date
buhl 0dd01da4b7 Squashed 'vendor/github.com/django/django/' content from commit 32bb1421
git-subtree-dir: vendor/github.com/django/django
git-subtree-split: 32bb1421ae4bf8e3b730be0cb47ee026a72961f7
2021-02-09 10:45:13 +01:00
buhl 7fb7e27921 Added vendored apm completion 2021-02-08 16:05:45 +01:00
buhl 751d3e2496 Add "apm-completion" from "https://github.com/vigo/apm-bash-completion@master"
git-vendor-name: apm-completion
git-vendor-dir: vendor/github.com/vigo/apm-bash-completion
git-vendor-repository: https://github.com/vigo/apm-bash-completion
git-vendor-ref: master
2021-02-08 16:05:40 +01:00
buhl e8342c1d97 Squashed 'vendor/github.com/vigo/apm-bash-completion/' content from commit d44593c
git-subtree-dir: vendor/github.com/vigo/apm-bash-completion
git-subtree-split: d44593c3f0514e1fcc668e47f875f83ceb054b36
2021-02-08 16:05:40 +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 133e48229a
Merge pull request #1832 from cornfeedhobo/gocomplete
ensure go completion works well with goenv
2021-02-06 15:27:12 -06:00
Noah Gorny e25e371ba7 docs: Add newline in readme and index.rst 2021-02-06 23:17:18 +02:00
Noah Gorny e4e0c151b2 docs: Add license notice to readme 2021-02-06 23:16:58 +02:00
Noah Gorny db318cdd3e
Merge pull request #1830 from NoahGorny/simplify-install
simplify install
2021-02-06 22:57:17 +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 5c192575ce install: Add bash-it prefix to all functions 2021-02-06 20:36:04 +02:00
Noah Gorny 3e7adde638 install: Move to double brackets in check_for-backup check 2021-02-06 20:25:56 +02:00
Noah Gorny fe9ef1e4bd
Merge pull request #1816 from tbhaxor/lint/git-plugins
Lint/git plugins
2021-02-06 00:31:41 +02:00
Noah Gorny 75058ebf22 plugins: git: Fix git_stats
Also remove uneeded newline
2021-02-06 00:26:15 +02:00
Gurkirat Singh 5cb52fa239 fixed linting for `plugins/available/git.plugin.bash` file 2021-02-06 00:26:15 +02:00
Gurkirat Singh 77654875e5 fixed git-changelog plugin 2021-02-06 00:26:12 +02:00
Gurkirat Singh 63f9f660a9 credit given to original author 2021-02-06 00:25:33 +02:00
Gurkirat Singh 92d814b2f6 added plugin to create git changelog and formatted code 2021-02-06 00:25:33 +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 af17501318 install: Add --overwrite-backup flag
This will ensure users will specify whether they want to overwrite the
backup or not, and check it even when we do silent installation
This does change the default behaviour and exits if the -f flag is not
specified and a backup is present.
2021-02-06 00:15:20 +02:00
Noah Gorny 9e37f0d09e install: Move backup check into a separate function 2021-02-06 00:15:20 +02:00
Noah Gorny ef10bcd151 install: Move modify config check into separate function
This helps us make the logic easier to read, and remove unneeded
confusion.
2021-02-06 00:15:20 +02:00
Noah Gorny 1fbd91ebf9
Merge pull request #1824 from cornfeedhobo/goenv-go
Ensure goenv and go play together well
2021-02-06 00:14:07 +02:00
Noah Gorny 71116f785f
Merge pull request #1828 from cornfeedhobo/composure-bump
Composure bump
2021-02-05 10:51:28 +02:00
cornfeedhobo 84049a4542
Update "composure" from "https://github.com/erichs/composure@55fdb9fa3cd0f181208a46d90da4d87d5b7e4351"
git-vendor-name: composure
git-vendor-dir: vendor/github.com/erichs/composure
git-vendor-repository: https://github.com/erichs/composure
git-vendor-ref: 55fdb9fa3cd0f181208a46d90da4d87d5b7e4351
2021-02-05 00:15:02 -06:00
cornfeedhobo aebe193136 Squashed 'vendor/github.com/erichs/composure/' changes from 5c3698d..55fdb9f
55fdb9f Merge pull request #24 from bvberkum/pr-21
b360ca5 Use command name, not last argument as shell-name [#23]
5c458c9 22 - Document revise behavior with GUI editors
7de4304 Update LICENSE copyright
f784e3a Merge pull request #20 from akatrevorjay/pr/zsh-plugin
1901dbe Merge pull request #19 from DrVanScott/master
6bcbc7b Add zsh-style plugin for easy load
37bccee fix _typeset_functions_about for functions starting with a dash
27623a9 fix zsh specific issues
2efc446 glossary: list only functions containing 'about'
7899d11 glossary: call _typeset_functions only once
072856e shell(): Fix for cygwin environment
2dc31de avoid error message if gprintf does not exist

git-subtree-dir: vendor/github.com/erichs/composure
git-subtree-split: 55fdb9fa3cd0f181208a46d90da4d87d5b7e4351
2021-02-05 00:15:02 -06:00
cornfeedhobo e690f21e4e
Ensure goenv and go play together well
This PR seeks to address several issues surrounding the go and goenv plugins.
The nature of goenv allows for a situation where the initial shell does not
point to a working go binary, and instead at the included shim script. The
result is that one must run reload after moving to a project directory with a
version file, however in doing so, PATH is updated, requiring they exit the
shell or risk lookup collisions and unexpected behavior.

This is solved by using preexec to check the version before changing
directories and restarting the shell if the version has changed. The exec
pattern is copied from _bash-it-restart, but is edited to support this specific
use case.

Additionally, tests have been uploaded and these are now being linted.
2021-02-04 23:51:17 -06:00
cornfeedhobo ff2f961ad7
Merge pull request #1822 from cornfeedhobo/stop-changing-working-directory
use absolute paths instead of changing directory
2021-02-03 09:05:59 -06:00
Noah Gorny ce6487f63e
Merge pull request #1820 from buhl/composure
Vendoring the composure
2021-02-03 09:06:35 +02:00
buhl 49d7d2e8c4 Getting Bash-it to use the vendored composure
Fixed tests
Fixed install.sh and bash_it.sh
Added gitattributes to the vendor folder
Changed documentation
2021-02-02 16:34:04 +01:00
cornfeedhobo 8fcf713541
use absolute paths instead of changing directory 2021-01-31 15:32:23 -06:00
buhl 90dd69c8ad Squashed 'vendor/github.com/erichs/composure/' content from commit 5c3698d
git-subtree-dir: vendor/github.com/erichs/composure
git-subtree-split: 5c3698df33cf92f9dbe75b807b1d29729989baaa
2021-01-31 14:56:34 +01:00
buhl a0b6c4993a Add "composure" from "https://github.com/erichs/composure@1.3.1"
git-vendor-name: composure
git-vendor-dir: vendor/github.com/erichs/composure
git-vendor-repository: https://github.com/erichs/composure
git-vendor-ref: 1.3.1
2021-01-31 14:56:34 +01:00
Noah Gorny 293d86771a
Merge pull request #1779 from NoahGorny/deprecate-docker-machine
docker-machine: Deprecate both plugin and completion file
2021-01-29 16:48:07 +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 1ce93fd60e
Merge pull request #1795 from NoahGorny/cleanup/lerna-completions
formatted lerna completion and used helper function
2021-01-29 01:27:16 +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
Noah Gorny 28b2a2ba2b
Merge pull request #1797 from NoahGorny/cleanup/npm-completions
formatted npm completion and used helper function
2021-01-28 19:34:45 +02:00
Gurkirat Singh 3d3322d0c9 formatted npm completion and used helper function 2021-01-28 19:23:56 +02:00
Noah Gorny 6fb9379f92
Merge pull request #1796 from NoahGorny/cleanup/minikube-completions
formatted minikube completion and used helper function
2021-01-28 19:22:23 +02:00
Gurkirat Singh 645054a8c4 formatted minikube completion and used helper function 2021-01-28 19:18:36 +02:00
Noah Gorny 868d64ebb8
Merge pull request #1793 from NoahGorny/cleanup/kubectl-completions
formatted kubectl completion and used helper function
2021-01-28 19:16:51 +02:00
Gurkirat Singh 202531321d formatted kubectl completion and used helper function 2021-01-28 18:57:00 +02:00