A community Bash framework.
Go to file
Charles Celerier 75d31a07bb bash_it.sh: Patched changes made to support custom.*.bash files.
Code was added to support loading
custom.{aliases,completion,plugins}.bash from their respective
directories in 46f6701a3. The change made in that commit does not wait
until the enabled {aliases,completion,plugins}/*.bash files are loaded
before sourcing the custom.*.bash files, which was the case before. This
patch fixes any issues caused by that change by loading the enabled
*.bash files and custom *.bash files in two successive for loops.
2014-04-28 13:03:47 -04:00
aliases/available Update osx.aliases.bash 2014-04-24 11:21:05 -04:00
completion/available Add in conda tab-completion 2014-04-05 09:17:59 -05:00
custom Fix bogus bash binary location 2012-04-17 00:24:58 -04:00
lib Use relative symlinks for enabling plugins 2014-04-06 13:33:39 -07:00
plugins/available Add a pyedit command thanks to @srossross 2014-03-26 10:03:50 -05:00
template Fix bogus bash binary location 2012-04-17 00:24:58 -04:00
themes Merge pull request #280 from hawkbee/hawkbee 2014-04-08 15:25:37 -05:00
.gitignore completion: Add completion/custom.completion.bash to .gitignore. 2014-04-23 20:13:29 -04:00
README.md Update screenshots url in README.md 2014-03-06 10:15:27 +08:00
bash_it.sh bash_it.sh: Patched changes made to support custom.*.bash files. 2014-04-28 13:03:47 -04:00
install.sh Use relative symlinks during installation 2014-04-05 15:28:58 -07:00

README.md

Bash it

Bash it is a mash up of my own bash commands and scripts, other bash stuff I have found.

(And a shameless ripoff of oh-my-zsh. :)

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

Install

  1. Check a clone of this repo: git clone https://github.com/revans/bash-it.git ~/.bash_it
  2. Run ~/.bash_it/install.sh (it automatically backs up your ~/.bash_profile)
  3. Edit your ~/.bash_profile file in order to customize bash-it.

NOTE: The install script will also prompt you asking if you use Jekyll. This is to set up the .jekyllconfig file, which stores info necessary to use the Jekyll plugin.

Help Screens

bash-it show aliases        # shows installed and available aliases
bash-it show completions    # shows installed and available completions
bash-it show plugins        # shows installed and available plugins
bash-it help aliases        # shows help for installed aliases
bash-it help completions    # shows help for installed completions
bash-it help plugins        # shows help for installed plugins

Your Custom scripts, aliases, and functions

For custom scripts, and aliases, just create the following files (they'll be ignored by the git repo):

  • aliases/custom.aliases.bash
  • lib/custom.bash
  • plugins/custom.plugins.bash

Anything in the custom directory will be ignored, with the exception of custom/example.bash.

Themes

There are a few bash it themes. If you've created your own custom prompts, I'd love it if you shared with everyone else! Just submit a Pull Request to me (revans).

You can see the theme screenshots here

Help out

I think everyone has their own custom scripts accumulated over time. And so, following in the footsteps of oh-my-zsh, bash it is a framework for easily customizing your bash shell. Everyone's got a custom toolbox, so let's start making them even better, as a community!

Send me a pull request and I'll merge it as long as it looks good. If you change an existing command, please give an explanation why. That will help a lot when I merge your changes in.

Thanks, and happing bashing!

Contributors