A community Bash framework.
Go to file
Mark Szymanski 8a3d525460 Added modern theme 2010-12-05 15:40:46 -06:00
aliases Changed 'cd's to 'builtin cd's, because I have a modified cd command (cd then ls) and it can get annoying when using the Jekyll aliases. 2010-11-13 10:21:59 -06:00
completion ssh completion using .ssh/config 2010-12-04 11:03:33 +11:00
custom Spelling Fix. 2010-10-31 21:40:08 -05:00
lib Made a lot of changes: no more functions directory. All aliases have been moved to the new alias directory. Plugins are now for functions only. Updated the README to reflect the changes and add a contributor's list. 2010-10-10 09:24:19 -07:00
plugins moved config of hcht to bash_profile template 2010-12-01 06:45:42 +01:00
template moved config of hcht to bash_profile template 2010-12-01 06:45:42 +01:00
themes Added modern theme 2010-12-05 15:40:46 -06:00
.bash_it update the tab/window title with the pwd 2010-10-07 13:19:53 -07:00
.gitignore Added ignore directive for vim swap files 2010-10-25 08:45:52 -05:00
README.md update credit 2010-12-04 11:06:40 +11:00
bash_it.sh merge conflict 2010-11-10 15:49:21 -08: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 some autocompletion tools, theming support, aliases, custom functions, a few stolen pieces from Steve Losh, and more.

Install

Check a clone of this repo. You can view what a sample ~/.bash_profile looks like in template/bash_profile.template.bash. If you wanted to use that template, make sure to make a backup of your current ~/.bash_profile file.

git clone http://github.com/revans/bash-it.git bash_it

cp ~/.bash_profile ~/.bash_profile_original
cp <path/to/cloned/repo>/template/bash_profile.template.bash ~/.bash_profile

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, you can create the following files and they will be ignored by the git repo:

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

and anything in the custom directory will be ignored with the exception of custom/example.bash.

Themes

There are a few bash-it themes, but I'm hoping the community will jump in and create their own custom prompts and share their creations with everyone else by submitting a pull request to me (revans).

Help out

I think all of us have our own custom scripts that we have added over time and so following in the footsteps of oh-my-zsh, bash-it was created as a framework for those who choose to use bash as their shell. As a community, I'm excited to see what everyone else has in their custom toolbox and am hoping that they'll share it with everyone by submitting a pull request to bash-it.

So, if you have contributions to bash-it, please send me a pull request and I'll take a look at it and commit it to the repo as long as it looks good. If you do change an existing command, please give an explanation as to why. That will help a lot when I merge your changes in. Thanks, and happing bashing!

Contributors

If you are submitting a pull request, please add your name to the list.