A community Bash framework.
Go to file
Nils Winkler e2c9c06f96 Added for_all_dirs function to loop through all subdirectories of the current directory and run a command there.
Example: $ for_all_dirs svn up
This will update each subdirectory's content from Subversion. Useful in case you have multiple separate Subversion projects from different roots in the directory that you want to update using one command.
2012-05-29 14:28:55 +02:00
aliases/available Fix bogus bash binary location 2012-04-17 00:24:58 -04:00
completion/available updating git.completion.bash 2012-05-10 14:52:04 -03:00
custom Fix bogus bash binary location 2012-04-17 00:24:58 -04:00
lib fix for issue #136 2012-05-20 13:18:04 -04:00
plugins/available Added for_all_dirs function to loop through all subdirectories of the current directory and run a command there. 2012-05-29 14:28:55 +02:00
template Fix bogus bash binary location 2012-04-17 00:24:58 -04:00
themes Change the test expression of Git 2012-05-04 22:51:48 +08:00
.gitignore Change the test expression of Git 2012-05-04 22:51:48 +08:00
README.md Fixed installation paths in docs. 2011-07-19 07:31:49 -07:00
bash_it.sh update help documentation 2012-05-13 22:13:54 -04:00
install.sh Fix load_some() installation to handle file paths instead of names. 2012-05-14 20:05:06 -04: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 http://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 (will show all the help commands)
aliases-help
rails-help
git-help
plugins-help

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).

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