'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.
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
bash-it (will show all the help commands)
aliases-help
rails-help
git-help
plugins-help
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
.
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).
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!