Noah Gorny
db318cdd3e
Merge pull request #1830 from NoahGorny/simplify-install
...
simplify install
2021-02-06 22:57:17 +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
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
Noah Gorny
253e87e4a2
Merge pull request #1792 from NoahGorny/cleanup/kontena-completion
...
formatted kontena completion and used helper function
2021-01-28 18:55:14 +02:00
Gurkirat Singh
d4bf4e6a89
formatted kontena completion and used helper function
2021-01-28 18:32:51 +02:00
Noah Gorny
0748b3085e
Merge pull request #1799 from NoahGorny/cleanup/jungle-completions
...
formatted jungle completion and used helper function
2021-01-28 18:16:24 +02:00
Gurkirat Singh
714bf84528
formatted jungle completion and used helper function
2021-01-28 18:10:25 +02:00
Noah Gorny
391ce6e91f
Merge pull request #1802 from NoahGorny/cleanup/gem-completions
...
formatted gem completion
2021-01-28 18:07:51 +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
71c0c06a78
Merge pull request #1798 from NoahGorny/cleanup/pip-completions
...
cleanup/pip completions
2021-01-28 17:54:59 +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
c2d971f20e
Merge pull request #1801 from NoahGorny/cleanup/gh-completions
...
cleanup/gh completions
2021-01-28 17:44:21 +02:00
Noah Gorny
adc77bb622
completion: Lint github-cli completion and use completion_exists
2021-01-28 17:40:35 +02:00
Noah Gorny
2b66100c47
helpers: Add _completion_exists helper
2021-01-28 17:40:20 +02:00
Gurkirat Singh
759cdd5a6d
formatted github-cli completion
2021-01-28 17:40:20 +02:00
Noah Gorny
8969f018a4
Merge pull request #1800 from NoahGorny/cleanup/helm-completions
...
formatted helm completion and used helper function
2021-01-28 17:36:23 +02:00