commit | 76326490ece46a0b78254353855584e31764c9f8 | [log] [tgz] |
---|---|---|
author | Greg Nofi <crackityjones2004-g@yahoo.com> | 周一 5月 14 20:05:06 2012 -0400 |
committer | Greg Nofi <crackityjones2004-g@yahoo.com> | 周一 5月 14 20:05:06 2012 -0400 |
tree | 7a23319d3f19653638674b7273d2543975c3f035 | |
parent | 54680bd83a64bb496498c6083d8d2ba37b2adb20 [diff] |
Fix load_some() installation to handle file paths instead of names. The ls command in for loop has a pattern now, so full paths are returned. The user prompt and symbolic link have been updated to handle this. Also, not all plugins have '.plugin.' in the middle of their names and weren't showing up on user prompt. With this commit, everything after the first period in the file name is stripped.
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!