commit | 248eb30e00b1a0cad99311072bb2adbec9e74f89 | [log] [tgz] |
---|---|---|
author | Erich Smith <heartquest@gmail.com> | 周二 5月 08 23:40:24 2012 -0400 |
committer | Erich Smith <heartquest@gmail.com> | 周二 5月 08 23:40:24 2012 -0400 |
tree | b5d60feb0422a4f602340fd6e48c05db702c6c8c | |
parent | 89263728f2f0272873112e49881a588ba03b7b72 [diff] |
plugin-specific metadata cite about-plugin metadata. This could be retrieved later, say by an install script or other helper function, with: cat ~/.bash_it/plugins/enabled/base.plugin.bash | metafor about-plugin In this way, summaries of each plugin may be provided to give newcomers (like me!) an overview. also, rewrote plugins-help(), which didn't work very well on my system. It now dynamically queries composure metadata.
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.
git clone http://github.com/revans/bash-it.git ~/.bash_it
~/.bash_it/install.sh
(it automatically backs up your ~/.bash_profile
)~/.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.
bash-it (will show all the help commands) aliases-help rails-help git-help plugins-help
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
.
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).
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!