A community Bash framework.
Go to file
John D Pell dee55a03cc drop `dirname` in favor of native Bash strings (1 of 2)
Convert `var=${dirname $filename)` to `var="${filename%/*}` in cases where there is no ambiguity.

Make sure that the path in `$BASH_IT` is absolute because this path gets embedded in the template `.bash_profile` file if selected by the user.
2021-09-16 16:59:02 -07:00
.github Revert "ci: Remove macos-11.0 as it is unreliable" 2021-09-10 16:54:51 +03:00
aliases/available feat(git): add git unpushed alias (#1897) 2021-06-23 15:02:04 +03:00
completion/available completion/system: update wording on shell version 2021-09-05 15:43:05 -07: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 hooks: Use compat31 in check-clean-files-txt.sh 2021-04-22 20:53:30 +03:00
lib drop `dirname` in favor of native Bash strings (1 of 2) 2021-09-16 16:59:02 -07:00
plugins/available drop `dirname` in favor of native Bash strings (1 of 2) 2021-09-16 16:59:02 -07:00
scripts use absolute paths instead of changing directory 2021-01-31 15:32:23 -06:00
template add command time duration plugin (#1683) 2020-12-27 18:48:17 +02:00
test Tests for 'default' prefix 2021-08-26 14:11:41 -07:00
test_lib Updated to bats-core v1.2.0 2020-04-29 16:03:30 +02:00
themes themes: remove executable bit 2021-09-11 21:25:14 -07: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: don't specify indent size 2021-08-14 20:14:01 -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
.shellcheckrc Add simple shellcheckrc 2020-10-28 11:51:04 +02:00
LICENSE Add 2021 to license 2021-04-06 20:59:08 +03:00
bash_it.sh Handle unbound variables 2021-08-26 14:11:41 -07:00
clean_files.txt Merge pull request #1852 from tbhaxor/feature/completion/dart 2021-08-03 23:58:16 +03:00
install.sh drop `dirname` in favor of native Bash strings (1 of 2) 2021-09-16 16:59:02 -07: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.