A community Bash framework.
Go to file
John D Pell 1c3cbf7ca6
Delete `.shellcheckrc` (#1947)
* CI: disable Ubuntu 16.04 as it's EOL

https://github.blog/changelog/2021-04-29-github-actions-ubuntu-16-04-lts-virtual-environment-will-be-removed-on-september-20-2021/

* main: lint false positive

* install: lint

* plugins/cmd-returned-notify: don't `export`

* plugins/xterm: lint

* plugins/git: lint

* plugins/goenv: lint

* plugins/alias-completion: lint false positives

* plugins/alias-completion: fix SC2155, SC2154

Declare `locals` at the top of the function

* completion: lint completions using `bash_completion` functions

Match the style of the existing code

* completion/knife: lint false positives

* completion/knife: lint

* completion/sdkman: lint

* completion/composer: lint

* Move `.shellcheckrc` under `themes/`

* lib/theme: fix SC2155, SC2154, SC2034

* lib/colors: don't warn on unused variables

We assign a large number of variables here and they may or may not be used anywhere else, so disable SC2034 for this file (only).

Alsö disable SC2005 as the functions in this file were written before `printf` was invented and have to do some fancy metascripting to get escape sequences interpreted reliably. I’m not smart enough to fix this to use `printf`, so leave it for now.

* themes/agnoster: lint

* themes: disable SC2154 for colors

Each one of these themes will need it’s own fix for SC2154, possibly upstream.

Due to the way themes are, it's entirely normal to have a *lot* of false positives for SC2034. So much so, that I have to admit that it is probably just not worth linting for SC2034 despite my dislike of blanket ignore rules.

* themes: disable SC2154, fix SC2155

Each one of these themes will need it’s own fix for SC2154, possibly upstream.

Due to the way themes are, it's entirely normal to have a *lot* of false positives for SC2034. So much so, that I have to admit that it is probably just not worth linting for SC2034 despite my dislike of blanket ignore rules.

* Delete `.shellcheckrc`

* remove executable bit
2021-09-18 12:50:59 +03:00
.github Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
aliases/available feat(git): add git unpushed alias (#1897) 2021-06-23 15:02:04 +03:00
completion/available Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
custom Fix bogus bash binary location 2012-04-17 00:24:58 -04:00
docs move to Libera.Chat 2021-07-06 22:21:46 -05:00
hooks Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
lib Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
plugins/available Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
scripts Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
template add command time duration plugin (#1683) 2020-12-27 18:48:17 +02:00
test lib/theme: new `_bash_it_appearance_scm_init()` 2021-09-11 10:22:17 -07:00
test_lib Updated to bats-core v1.2.0 2020-04-29 16:03:30 +02:00
themes Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
vendor Add "jboss-completion" from "https://github.com/rparree/jboss-bash-completion@master" 2021-02-13 10:34:49 +02:00
.ackrc Ignore the enabled directories when running ack 2016-03-25 15:29:10 -05:00
.editorconfig EditorConfig: set `indent_size = tab` 2021-09-17 10:44:53 -07:00
.gitattributes Allow trailing spaces in md/rst files 2020-12-17 01:42:25 +02:00
.gitignore Squashed 'vendor/github.com/erichs/composure/' content from commit 5c3698d 2021-01-31 14:56:34 +01:00
.gitmodules Updated to bats-core v1.2.0 2020-04-29 16:03:30 +02:00
.pre-commit-config.yaml Merge pull request #1899 from georgettica/georgettica/bump-pre-commit-hooks 2021-06-23 13:21:06 +03:00
.readthedocs.yml Add readthedocs configuration 2020-10-31 23:07:02 +02:00
LICENSE Add 2021 to license 2021-04-06 20:59:08 +03:00
bash_it.sh Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
clean_files.txt Merge pull request #1852 from tbhaxor/feature/completion/dart 2021-08-03 23:58:16 +03:00
install.sh Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
lint_clean_files.sh Explain Bash-it variable clearing in lint script 2020-11-05 08:30:33 -08:00
uninstall.sh Fixed some shellcheck warnings 2018-05-31 18:05:25 +02:00

docs/README.md

logo

Build Status Docs Status License shell Join the chat at https://web.libera.chat/?channel=#bash-it

Bash-it is a collection of community Bash commands and scripts for Bash 3.2+. (And a shameless ripoff of oh-my-zsh 😃)

Includes autocompletion, themes, aliases, custom functions, a few stolen pieces from Steve Losh, and more.

Bash-it provides a solid framework for using, developing and maintaining shell scripts and custom commands for your daily work. If you're using the Bourne Again Shell (Bash) regularly and have been looking for an easy way on how to keep all of these nice little scripts and aliases under control, then Bash-it is for you!
Stop polluting your ~/bin directory and your .bashrc file, fork/clone Bash-it and start hacking away.

Installation

  1. Check out a clone of this repo to a location of your choice, such as git clone --depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it
  2. Run ~/.bash_it/install.sh

That's it! 😃

You can check out more components of Bash-it, and customize it to your desire.
For more information, see detailed instructions here.

Contributing

Please take a look at the Contribution Guidelines before reporting a bug or providing a new feature.

The Development Guidelines have more information on some of the internal workings of Bash-it, please feel free to read through this page if you're interested in how Bash-it loads its components.

Contributors

List of contributors

License

Bash-it is licensed under the MIT License.