Commit Graph

3280 Commits

Author SHA1 Message Date
Noah Gorny
6f02b8d194 Merge pull request #1851 from ofirshtrull/master
Add support for active gcloud account in powerline prompt
2021-03-15 23:01:43 +02:00
Noah Gorny
c8ef6c9146 Merge pull request #1848 from matthewadams/master
add npm alias nt="npm test"
2021-03-13 18:55:02 +02:00
Ofir Shtrull
8ae2b1e73d fix typo 2021-03-11 18:32:10 +02:00
Ofir Shtrull
ffc1701c0a Add to prompt google gcloud active account 2021-03-11 18:25:23 +02:00
Matthew Adams
96586dd575 add alias nt="npm test" 2021-03-09 14:14:19 -06:00
Noah Gorny
c59886b8ab Merge pull request #1847 from tbhaxor/patch-2
Added alias for git rebase
2021-03-09 00:15:58 +02:00
Gurkirat Singh
5c6306deb7 alias (improvement): continue rebase after conflict resolve 2021-03-09 02:24:12 +05:30
Noah Gorny
6093ecbb60 Merge pull request #1841 from ddaza/master
fix: Git alias quote style broke functionality
v2.1.1
2021-02-26 10:17:01 +02:00
ddaza
e289549a50 fix alias quotes 2021-02-25 19:45:59 -06:00
Artem Kovalov
9d7738d14d Improved systemd aliases
Refactor naming
Add restart
2021-02-25 00:01:38 +02:00
Noah Gorny
7827907154 Merge pull request #1838 from bialad/patch-1
Remove deprecated kubectl run --generator
2021-02-24 19:06:55 +02:00
Tobias Månsson
0ed6f045f6 Remove deprecated kubectl run --generator
It now defaults to pod, so the --generator option is not required.
2021-02-15 07:41:39 +01:00
Noah Gorny
4607ee7452 Merge pull request #1836 from buhl/django-complete
vendoring django completion
v2.1.0
2021-02-13 10:30:31 +02:00
Noah Gorny
0eab2962d3 Merge pull request #1835 from buhl/vendor-apm-completion
Vendor apm completion
2021-02-12 15:50:42 +02:00
buhl
0e77a94140 Vendored django completion 2021-02-09 11:01:37 +01:00
buhl
a0ba2a1787 Add "django-completion" from "https://github.com/django/django@3.1.6"
git-vendor-name: django-completion
git-vendor-dir: vendor/github.com/django/django
git-vendor-repository: https://github.com/django/django
git-vendor-ref: 3.1.6
2021-02-09 10:56:10 +01:00
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
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