common/bash_it.git
13 years agostandardize plugins, update metadata
Erich Smith [Sat, 12 May 2012 03:27:03 +0000 (23:27 -0400)] 
standardize plugins, update metadata

add about-plugin metadata
chmod -x plugins
cleanup filenames to standardize on x.plugin.bash format
only plugin files intended to be executable from the command line should
contain a shebang line, and should be a+x.

13 years agobasic plugin management
Erich Smith [Fri, 11 May 2012 18:25:24 +0000 (14:25 -0400)] 
basic plugin management

move plugin management functions into 'lib' group in helpers.bash

13 years agoupdate to latest version of composure.sh
Erich Smith [Fri, 11 May 2012 18:10:39 +0000 (14:10 -0400)] 
update to latest version of composure.sh

this fixes a bug in draft() and improves performance in metafor()
and glossary()

13 years agoMerge branch 'master' into plugin_metadata
Erich Smith [Fri, 11 May 2012 18:08:33 +0000 (14:08 -0400)] 
Merge branch 'master' into plugin_metadata

13 years agoMerge pull request #131 from nwinkler/fasd-bash-it-path
Travis Swicegood [Thu, 10 May 2012 15:56:33 +0000 (08:56 -0700)] 
Merge pull request #131 from nwinkler/fasd-bash-it-path

fasd is using fixed path instead of BASH_IT variable

13 years agoFixed reload by expanding environment variable before defining the alias.
Nils Winkler [Thu, 10 May 2012 14:24:18 +0000 (16:24 +0200)] 
Fixed reload by expanding environment variable before defining the alias.

13 years agoFixed BASH_IT path in fasd configuration to use environment variable instead of fixed...
Nils Winkler [Thu, 10 May 2012 13:57:47 +0000 (15:57 +0200)] 
Fixed BASH_IT path in fasd configuration to use environment variable instead of fixed path.

13 years agoupdate plugin documentation
Erich Smith [Wed, 9 May 2012 13:27:10 +0000 (09:27 -0400)] 
update plugin documentation

13 years agoupdate composure
Erich Smith [Wed, 9 May 2012 03:48:01 +0000 (23:48 -0400)] 
update composure

13 years agoplugin-specific metadata
Erich Smith [Wed, 9 May 2012 03:40:24 +0000 (23:40 -0400)] 
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.

13 years agoMerge remote-tracking branch 'erichs/fasd'
Travis Swicegood [Mon, 7 May 2012 23:21:33 +0000 (18:21 -0500)] 
Merge remote-tracking branch 'erichs/fasd'

13 years agoMerge remote-tracking branch 'erichs/fix_pull_121'
Travis Swicegood [Mon, 7 May 2012 23:19:07 +0000 (18:19 -0500)] 
Merge remote-tracking branch 'erichs/fix_pull_121'

13 years agoMerge remote-tracking branch 'six8/rbenv'
Travis Swicegood [Mon, 7 May 2012 23:13:31 +0000 (18:13 -0500)] 
Merge remote-tracking branch 'six8/rbenv'

13 years agoMake it so rbenv doesn't try to run if it's not installed
Mike Thornton [Mon, 7 May 2012 20:48:38 +0000 (15:48 -0500)] 
Make it so rbenv doesn't try to run if it's not installed

13 years agoupdate alias directory
Erich Smith [Mon, 7 May 2012 16:57:23 +0000 (12:57 -0400)] 
update alias directory

13 years agofasd 0.5.4 plugin
Erich Smith [Mon, 7 May 2012 13:56:36 +0000 (09:56 -0400)] 
fasd 0.5.4 plugin

The [fasd](https://github.com/clvv/fasd) project replaces the current
z() functionality, and generalizes it for all files and directories.

It provides a 'z' alias which works like z() does today, but faster, as
well as 'f' for selecting files, and 'd' for selecting directories, all
based on 'frecency' with Bayesian inference calculations. It is also
trivial to set up a 'v' alias to edit frecently used files.

Seriously, two points just for using Bayes' theorem.

I've sourced this as a plugin, and made a minor modification to @clvv's
0.5.4 file to bootstrap the initialization process without installing
fasd outside of Bash_it, or modifying the PATH.

This doesn't fully install fasd on a system (for instance, the man page
is not installed).

Using this as a plugin will clobber the z plugin.

This also installs a PROMPT_COMMAND hook. I don't have a complex setup,
but it is possible this may not play nice with other PROMPT_COMMAND
hooks if they are set. It seems to work well on my box.

As an aside, it appears that z.bash is out-of-date compared with @rupa's
latest code.

13 years agoquote examples
Erich Smith [Mon, 7 May 2012 16:51:10 +0000 (12:51 -0400)] 
quote examples

prevent bash expansion and parsing of example code

13 years agoMerge remote-tracking branch 'xiaogaozi/master'
Travis Swicegood [Fri, 4 May 2012 21:32:44 +0000 (16:32 -0500)] 
Merge remote-tracking branch 'xiaogaozi/master'

13 years agoUpdate to @erichs' latest version of Composure
Travis Swicegood [Fri, 4 May 2012 21:30:22 +0000 (16:30 -0500)] 
Update to @erichs' latest version of Composure

Was having issues with iTerm and composure's old binding of edit-and-execute.
This version removes that, so just updated rather than edit.

13 years agoChange the test expression of Git
xiaogaozi [Fri, 4 May 2012 14:51:48 +0000 (22:51 +0800)] 
Change the test expression of Git

13 years agoMerge remote-tracking branch 'CaptainPatate/master'
Travis Swicegood [Wed, 2 May 2012 16:14:47 +0000 (11:14 -0500)] 
Merge remote-tracking branch 'CaptainPatate/master'

13 years agooptimize this a bit
Travis Swicegood [Tue, 1 May 2012 22:25:47 +0000 (17:25 -0500)] 
optimize this a bit

13 years agoRemove commented out stuff
Travis Swicegood [Tue, 1 May 2012 22:23:23 +0000 (17:23 -0500)] 
Remove commented out stuff

13 years agoadd a little docblock explaining about it
Travis Swicegood [Mon, 30 Apr 2012 16:09:46 +0000 (11:09 -0500)] 
add a little docblock explaining about it

13 years agoIgnore files that begin with an underscore (bandaid for #108)
Travis Swicegood [Mon, 30 Apr 2012 16:07:15 +0000 (11:07 -0500)] 
Ignore files that begin with an underscore (bandaid for #108)

13 years agoRemove the color escape which mess up long command line in candy theme
Amaury Gauthier [Sun, 29 Apr 2012 12:32:07 +0000 (14:32 +0200)] 
Remove the color escape which mess up long command line in candy theme

13 years agoMerge remote-tracking branch 'erichs/master'
Travis Swicegood [Sat, 28 Apr 2012 17:08:58 +0000 (12:08 -0500)] 
Merge remote-tracking branch 'erichs/master'

13 years agofix typo
Erich Smith [Sat, 28 Apr 2012 14:40:16 +0000 (10:40 -0400)] 
fix typo

13 years agomore portable pass function
Erich Smith [Sat, 28 Apr 2012 14:35:01 +0000 (10:35 -0400)] 
more portable pass function

13 years agohelp metadata for base plugin
Erich Smith [Sat, 28 Apr 2012 04:43:38 +0000 (00:43 -0400)] 
help metadata for base plugin

13 years agoimport composure functions
Erich Smith [Fri, 27 Apr 2012 19:07:04 +0000 (15:07 -0400)] 
import composure functions

13 years agoMerge pull request #113 from dleavitt/master
Travis Swicegood [Thu, 26 Apr 2012 13:28:25 +0000 (06:28 -0700)] 
Merge pull request #113 from dleavitt/master

Show rbenv's active ruby rather than global ruby in theme

13 years agoMerge pull request #112 from pismute/zork
Travis Swicegood [Wed, 25 Apr 2012 13:07:51 +0000 (06:07 -0700)] 
Merge pull request #112 from pismute/zork

[theme:zork]Make $HOSTNAME not necessary for hostname.

13 years agoShow rbenv active ruby rather than system ruby
Daniel Leavitt [Wed, 25 Apr 2012 06:08:40 +0000 (23:08 -0700)] 
Show rbenv active ruby rather than system ruby

13 years agoMake $HOSTNAME not necessary for hostname.
Changwoo Park [Thu, 13 Oct 2011 05:19:03 +0000 (14:19 +0900)] 
Make $HOSTNAME not necessary for hostname.

13 years agoMerge remote-tracking branch 'grimreaper/master'
Travis Swicegood [Wed, 18 Apr 2012 16:08:21 +0000 (11:08 -0500)] 
Merge remote-tracking branch 'grimreaper/master'

13 years agoFix bogus bash binary location
Eitan Adler [Tue, 17 Apr 2012 04:24:58 +0000 (00:24 -0400)] 
Fix bogus bash binary location

13 years agoFix typo (thanks @rdmurphy)
Travis Swicegood [Mon, 26 Mar 2012 16:20:24 +0000 (11:20 -0500)] 
Fix typo (thanks @rdmurphy)

13 years agoExtract loading of enable-able files and add reload_* functions
Travis Swicegood [Mon, 26 Mar 2012 16:19:38 +0000 (11:19 -0500)] 
Extract loading of enable-able files and add reload_* functions

13 years agoadd a few more helpers for virtualenv
Travis Swicegood [Mon, 26 Mar 2012 16:01:18 +0000 (11:01 -0500)] 
add a few more helpers for virtualenv

13 years agoAdd a multiline doubletime theme that only shows Python
Travis Swicegood [Mon, 26 Mar 2012 16:01:05 +0000 (11:01 -0500)] 
Add a multiline doubletime theme that only shows Python

13 years agoMerge remote-tracking branch 'revans/master'
Travis Swicegood [Mon, 26 Mar 2012 16:00:39 +0000 (11:00 -0500)] 
Merge remote-tracking branch 'revans/master'

13 years agoMerge pull request #90 from rjorgenson/master
Travis Swicegood [Tue, 13 Mar 2012 14:37:04 +0000 (07:37 -0700)] 
Merge pull request #90 from rjorgenson/master

My prompt theme and a bugfix

13 years agoMerge remote-tracking branch 'rjorgenson/master'
Travis Swicegood [Tue, 13 Mar 2012 14:35:30 +0000 (07:35 -0700)] 
Merge remote-tracking branch 'rjorgenson/master'

13 years agoMerge pull request #106 from antono/fix-xterm-plugin
Travis Swicegood [Tue, 13 Mar 2012 14:32:46 +0000 (07:32 -0700)] 
Merge pull request #106 from antono/fix-xterm-plugin

Install xterm title only for xterm

13 years agoMerge remote-tracking branch 'antono/fix-xterm-plugin'
Travis Swicegood [Tue, 13 Mar 2012 14:32:11 +0000 (07:32 -0700)] 
Merge remote-tracking branch 'antono/fix-xterm-plugin'

13 years agoMerge pull request #107 from antono/nvm-update
Travis Swicegood [Tue, 13 Mar 2012 14:25:24 +0000 (07:25 -0700)] 
Merge pull request #107 from antono/nvm-update

Updated node version manager plugin to current master

13 years agoadd a multi-line doubletime theme
Travis Swicegood [Tue, 13 Mar 2012 14:23:27 +0000 (07:23 -0700)] 
add a multi-line doubletime theme

13 years agoUpdated node version manager plugin to current master
Antono Vasiljev [Sun, 4 Mar 2012 23:13:53 +0000 (02:13 +0300)] 
Updated node version manager plugin to current master

13 years agoInstall xterm title only for xterm
Antono Vasiljev [Sun, 4 Mar 2012 19:58:53 +0000 (22:58 +0300)] 
Install xterm title only for xterm

13 years agoadd defaults autocompletion for OS X
Travis Swicegood [Sun, 19 Feb 2012 03:52:10 +0000 (21:52 -0600)] 
add defaults autocompletion for OS X

13 years agoMerge pull request #102 from jpschewe/master
Travis Swicegood [Tue, 14 Feb 2012 23:29:07 +0000 (15:29 -0800)] 
Merge pull request #102 from jpschewe/master

Found a bug in the tmux completion

13 years agoMerge remote-tracking branch 'berenm/master'
Travis Swicegood [Tue, 14 Feb 2012 23:25:34 +0000 (17:25 -0600)] 
Merge remote-tracking branch 'berenm/master'

13 years agoRevert "Revert new color framework"
Travis Swicegood [Tue, 14 Feb 2012 23:25:27 +0000 (17:25 -0600)] 
Revert "Revert new color framework"

This reverts commit 39df027ed7f1b99cabf2e34115cf39b95706fb3e.

13 years agoFixed issue #103 caused by "normal" colors not reseting bold/underline/... text attri...
Beren Minor [Tue, 14 Feb 2012 08:11:17 +0000 (09:11 +0100)] 
Fixed issue #103 caused by "normal" colors not reseting bold/underline/... text attributes.

13 years agoRevert new color framework
Travis Swicegood [Tue, 14 Feb 2012 02:47:10 +0000 (20:47 -0600)] 
Revert new color framework

This still has some issues with it that need to be worked out.  See
ticket #103 for the current state.

This reverts commits:
1da06a4b63941dc5e00a9ab31399276fec832dfa
879d54031dc8369398a486f7ca54dea91cabdd6c

13 years agoremove random debug comments
Travis Swicegood [Mon, 13 Feb 2012 21:15:06 +0000 (15:15 -0600)] 
remove random debug comments

13 years agoAdd in autoenv from @kennethreitz
Travis Swicegood [Mon, 13 Feb 2012 20:26:48 +0000 (14:26 -0600)] 
Add in autoenv from @kennethreitz

13 years agoFound another function that needs to be copied to tmux completion
Jon Schewe [Sun, 12 Feb 2012 18:30:07 +0000 (12:30 -0600)] 
Found another function that needs to be copied to tmux completion

13 years agoAdd _filedir replacement
Jon Schewe [Sun, 12 Feb 2012 18:14:48 +0000 (12:14 -0600)] 
Add _filedir replacement

Turns out that _filedir isn't always defined. So bring our own version
in.

13 years agoAdd in Fabric auto-completion (thanks @underself).
Travis Swicegood [Sat, 11 Feb 2012 21:48:48 +0000 (15:48 -0600)] 
Add in Fabric auto-completion (thanks @underself).

Please see [underself/fabric-completion] for the original work that this
is based off of.

[underself/fabric-completion]: https://github.com/underself/fabric-completion

13 years agoFix a typo so new-session can be completed
Travis Swicegood [Sat, 11 Feb 2012 21:39:40 +0000 (15:39 -0600)] 
Fix a typo so new-session can be completed

13 years agoMerge remote-tracking branch 'jpschewe/master'
Travis Swicegood [Sat, 11 Feb 2012 21:39:13 +0000 (15:39 -0600)] 
Merge remote-tracking branch 'jpschewe/master'

13 years agoFix typo in option check
Jon Schewe [Sat, 11 Feb 2012 20:48:09 +0000 (14:48 -0600)] 
Fix typo in option check

13 years agoMerge remote-tracking branch 'jpschewe/master'
Travis Swicegood [Sat, 11 Feb 2012 17:09:54 +0000 (11:09 -0600)] 
Merge remote-tracking branch 'jpschewe/master'

13 years agoMerge remote-tracking branch 'upstream/master'
Jon Schewe [Sat, 11 Feb 2012 03:02:28 +0000 (21:02 -0600)] 
Merge remote-tracking branch 'upstream/master'

13 years agoTmux completion
Jon Schewe [Sat, 11 Feb 2012 03:01:10 +0000 (21:01 -0600)] 
Tmux completion

13 years agoMerge pull request #99 from berenm/master
Travis Swicegood [Wed, 8 Feb 2012 23:32:24 +0000 (15:32 -0800)] 
Merge pull request #99 from berenm/master

Improved color framework

13 years agoEven better color framework.
Beren Minor [Wed, 8 Feb 2012 08:35:21 +0000 (09:35 +0100)] 
Even better color framework.

13 years agoImproved color framework.
Beren Minor [Tue, 7 Feb 2012 23:22:40 +0000 (00:22 +0100)] 
Improved color framework.

13 years agoMerge pull request #98 from nwinkler/bash-it-maven-aliases
Travis Swicegood [Tue, 7 Feb 2012 18:01:49 +0000 (10:01 -0800)] 
Merge pull request #98 from nwinkler/bash-it-maven-aliases

Added aliases for Maven

13 years agoAdded aliases for Maven
Nils Winkler [Tue, 7 Feb 2012 13:31:33 +0000 (14:31 +0100)] 
Added aliases for Maven

13 years agoMerge pull request #97 from robertjung/fix_mbriggs_theme
Travis Swicegood [Sat, 28 Jan 2012 04:30:31 +0000 (20:30 -0800)] 
Merge pull request #97 from robertjung/fix_mbriggs_theme

Add new ruby_version_prompt to mbriggs theme

13 years agoAdd new ruby_version_prompt to mbriggs theme
Robert Jung [Fri, 27 Jan 2012 11:35:57 +0000 (12:35 +0100)] 
Add new ruby_version_prompt to mbriggs theme

13 years agoMerge remote-tracking branch 'hmans/rbfu_support'
Travis Swicegood [Thu, 26 Jan 2012 19:32:01 +0000 (13:32 -0600)] 
Merge remote-tracking branch 'hmans/rbfu_support'

13 years agoUpdate (most) themes to use new ${ruby_version_prompt} variable.
Hendrik Mans [Thu, 26 Jan 2012 15:07:06 +0000 (16:07 +0100)] 
Update (most) themes to use new ${ruby_version_prompt} variable.

13 years agoSwitch to echo -e and use echo safe colors (fixes: #96)
Travis Swicegood [Thu, 26 Jan 2012 14:18:43 +0000 (08:18 -0600)] 
Switch to echo -e and use echo safe colors (fixes: #96)

13 years agoAdd echo_ prefixed colors that work with echo -e (re: #96)
Travis Swicegood [Thu, 26 Jan 2012 14:18:22 +0000 (08:18 -0600)] 
Add echo_ prefixed colors that work with echo -e (re: #96)

13 years agoIntroduce $(ruby_version_prompt), wrapping around rbfu, rbenv and RVM support.
Hendrik Mans [Tue, 24 Jan 2012 13:31:23 +0000 (14:31 +0100)] 
Introduce $(ruby_version_prompt), wrapping around rbfu, rbenv and RVM support.

13 years agoAdd rbfu support.
Hendrik Mans [Tue, 24 Jan 2012 13:30:01 +0000 (14:30 +0100)] 
Add rbfu support.

Prompts can now display the currently active Ruby version set by rbfu, a tool similar to RVM and rbenv.

13 years agoMerge pull request #88 from victorcoder/master
Robert Evans [Mon, 19 Dec 2011 18:34:33 +0000 (10:34 -0800)] 
Merge pull request #88 from victorcoder/master

New theme envy and rbenv integration/plugin

13 years agoMerge pull request #92 from antono/master
Robert Evans [Mon, 19 Dec 2011 18:34:08 +0000 (10:34 -0800)] 
Merge pull request #92 from antono/master

Set title on terminal emulator

13 years agoSet terminal emulatior title
Antono Vasiljev [Sat, 17 Dec 2011 08:46:40 +0000 (11:46 +0300)] 
Set terminal emulatior title

13 years agoAdded bash functions preexec() and precmd()
Antono Vasiljev [Sat, 17 Dec 2011 08:45:59 +0000 (11:45 +0300)] 
Added bash functions preexec() and precmd()

13 years agoadded error suppression to tree alias
rjorgenson [Wed, 30 Nov 2011 06:45:25 +0000 (23:45 -0700)] 
added error suppression to tree alias

the $(which tree) check general.aliases would ouput an error if the
    command was not found. Added suppression of that error.

13 years agoMerge pull request #87 from nwinkler/ssh-completion-bash-it
Travis Swicegood [Tue, 22 Nov 2011 18:55:56 +0000 (10:55 -0800)] 
Merge pull request #87 from nwinkler/ssh-completion-bash-it

Fixed SSH completion to include both config and known_hosts.

13 years agoadd mkvenv shortcut
Travis Swicegood [Tue, 15 Nov 2011 16:47:37 +0000 (10:47 -0600)] 
add mkvenv shortcut

13 years agoMerge pull request #89 from mbriggs/master
Travis Swicegood [Mon, 14 Nov 2011 19:39:43 +0000 (11:39 -0800)] 
Merge pull request #89 from mbriggs/master

new prompt

13 years agoadds a ruby/git oriented theme
Matt Briggs [Sun, 13 Nov 2011 20:54:01 +0000 (15:54 -0500)] 
adds a ruby/git oriented theme

13 years agofixed some syntax problems
rjorgenson [Sat, 12 Nov 2011 08:10:24 +0000 (01:10 -0700)] 
fixed some syntax problems

updated bash_it base install and theme stopped working
needed some syntax changes to show colors properly
cleaned up color disambiguation a bit

13 years agoMerge remote-tracking branch 'upstream/master'
rjorgenson [Sat, 12 Nov 2011 07:48:45 +0000 (00:48 -0700)] 
Merge remote-tracking branch 'upstream/master'

13 years agoTypos in plugin
Victor Castell [Sat, 5 Nov 2011 14:53:27 +0000 (15:53 +0100)] 
Typos in plugin

13 years agorbenv plugin
Victor Castell [Sat, 5 Nov 2011 12:20:00 +0000 (13:20 +0100)] 
rbenv plugin

13 years agoenvy theme to implement rbenv version promt
Victor Castell [Sat, 5 Nov 2011 12:08:34 +0000 (13:08 +0100)] 
envy theme to implement rbenv version promt

13 years agoFixed SSH completion to include both config and known_hosts. Works on OS X for me...
Nils Winkler [Tue, 25 Oct 2011 06:57:39 +0000 (08:57 +0200)] 
Fixed SSH completion to include both config and known_hosts. Works on OS X for me if set up like that.

13 years agoMake sure that the new BASH_IT/BASH_IT_THEME maintains BC
Travis Swicegood [Sat, 29 Oct 2011 23:56:36 +0000 (18:56 -0500)] 
Make sure that the new BASH_IT/BASH_IT_THEME maintains BC

13 years agoMove this back to its original location
Travis Swicegood [Sat, 29 Oct 2011 23:55:20 +0000 (18:55 -0500)] 
Move this back to its original location

Not sure why this needs to be moved.  Feels like it could cause some
issues since the values defined in themes aren't available to any of the
lib or plugins.

13 years agoMerge remote-tracking branch 'jfsiii/master'
Travis Swicegood [Sat, 29 Oct 2011 23:37:31 +0000 (18:37 -0500)] 
Merge remote-tracking branch 'jfsiii/master'

Conflicts:
bash_it.sh

13 years ago`$BASH_IT` should be conditionally defined before use.
John Schulz [Fri, 28 Oct 2011 23:22:20 +0000 (19:22 -0400)] 
`$BASH_IT` should be conditionally defined before use.

7483c6dac351f836bd574c9cdff4a23df7cd507f moved one line too many.

13 years agoCustom themes should be loaded *after* the base theme.
John Schulz [Thu, 27 Oct 2011 23:29:34 +0000 (19:29 -0400)] 
Custom themes should be loaded *after* the base theme.