Travis Swicegood [Sun, 20 May 2012 19:56:16 +0000 (12:56 -0700)]
Merge pull request #137 from erichs/fix_136
fix for issue #136
Erich Smith [Sun, 20 May 2012 17:18:04 +0000 (13:18 -0400)]
fix for issue #136
issue #136 was found to be caused by an aliased 'ls' command that
generated rogue values for 'plugin' in the enable/disable-plugin()
functions. this commit fixes that by forcing the shell to disregard
aliased 'ls' commands.
Travis Swicegood [Thu, 17 May 2012 21:40:11 +0000 (14:40 -0700)]
Merge pull request #134 from erichs/plugin_metadata
Plugin management system (big thanks to @erichs)
Travis Swicegood [Thu, 17 May 2012 21:38:15 +0000 (16:38 -0500)]
Merge remote-tracking branch 'erichs/fasd_fix'
Travis Swicegood [Thu, 17 May 2012 21:36:43 +0000 (14:36 -0700)]
Merge pull request #132 from Draiken/master
Updating git.completion.bash
Travis Swicegood [Thu, 17 May 2012 21:35:27 +0000 (14:35 -0700)]
Merge pull request #135 from nofeet/master
Fix for install.sh for partial installations
Erich Smith [Wed, 16 May 2012 17:00:22 +0000 (13:00 -0400)]
test existence, not symlink
it isn't safe to assume that symlinks created in the enabled/* dirs will
be symlinks later...
some users use tools like Dropbox to sync their files across systems,
and these may transform symlinks into regular files. explicitly
checking for symlinks with tests like [ -h $file ] will break on these
systems. these tests have been replaced with [ -e $file ] instead.
Erich Smith [Tue, 15 May 2012 18:25:42 +0000 (14:25 -0400)]
plugins-help is much faster
this replaces the naive implementation that called glossary() on each
group, and is an order of magnitude faster.
fix grouping in javascript.plugin.bash
Travis Swicegood [Tue, 15 May 2012 15:26:03 +0000 (10:26 -0500)]
fix typeset_functions
typeset_functions relies on a hack to determine the shell it is running
under. this hack fails on some versions of bash. if the $SHELL variable
is set, prefer that instead.
fix bug in draft()
Greg Nofi [Tue, 15 May 2012 00:05:06 +0000 (20:05 -0400)]
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.
Erich Smith [Mon, 14 May 2012 18:12:09 +0000 (14:12 -0400)]
fix typos
Erich Smith [Mon, 14 May 2012 01:44:12 +0000 (21:44 -0400)]
update help documentation
Erich Smith [Sun, 13 May 2012 12:37:31 +0000 (08:37 -0400)]
update plugin management
Erich Smith [Sun, 13 May 2012 12:35:30 +0000 (08:35 -0400)]
disable z() if fasd is enabled
loading fasd clobbers z(), and results in a cryptic syntax error
message, since 'z' is already an alias when z.plugin.bash is being
sourced.
this conditional detects this situation and returns early.
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.
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
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()
Erich Smith [Sun, 13 May 2012 01:04:19 +0000 (21:04 -0400)]
fix bug in fasd init
since we're sourcing this as a plugin, which loads the function, it's
counterproductive to also define the 'fasd' alias
moving the about-plugin metadata into the case block makes this script
safe for execution even if composure metadata isn't exported and
available
rename fasd.bash to fasd.plugin.bash to bring it inline with the other
plugin scripts
Erich Smith [Fri, 11 May 2012 18:08:33 +0000 (14:08 -0400)]
Merge branch 'master' into plugin_metadata
Luiz Felipe [Thu, 10 May 2012 17:52:04 +0000 (14:52 -0300)]
updating git.completion.bash
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
Nils Winkler [Thu, 10 May 2012 14:24:18 +0000 (16:24 +0200)]
Fixed reload by expanding environment variable before defining the alias.
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.
Erich Smith [Wed, 9 May 2012 13:27:10 +0000 (09:27 -0400)]
update plugin documentation
Erich Smith [Wed, 9 May 2012 03:48:01 +0000 (23:48 -0400)]
update composure
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.
Travis Swicegood [Mon, 7 May 2012 23:21:33 +0000 (18:21 -0500)]
Merge remote-tracking branch 'erichs/fasd'
Travis Swicegood [Mon, 7 May 2012 23:19:07 +0000 (18:19 -0500)]
Merge remote-tracking branch 'erichs/fix_pull_121'
Travis Swicegood [Mon, 7 May 2012 23:13:31 +0000 (18:13 -0500)]
Merge remote-tracking branch 'six8/rbenv'
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
Erich Smith [Mon, 7 May 2012 16:57:23 +0000 (12:57 -0400)]
update alias directory
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.
Erich Smith [Mon, 7 May 2012 16:51:10 +0000 (12:51 -0400)]
quote examples
prevent bash expansion and parsing of example code
Travis Swicegood [Fri, 4 May 2012 21:32:44 +0000 (16:32 -0500)]
Merge remote-tracking branch 'xiaogaozi/master'
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.
xiaogaozi [Fri, 4 May 2012 14:51:48 +0000 (22:51 +0800)]
Change the test expression of Git
Travis Swicegood [Wed, 2 May 2012 16:14:47 +0000 (11:14 -0500)]
Merge remote-tracking branch 'CaptainPatate/master'
Travis Swicegood [Tue, 1 May 2012 22:25:47 +0000 (17:25 -0500)]
optimize this a bit
Travis Swicegood [Tue, 1 May 2012 22:23:23 +0000 (17:23 -0500)]
Remove commented out stuff
Travis Swicegood [Mon, 30 Apr 2012 16:09:46 +0000 (11:09 -0500)]
add a little docblock explaining about it
Travis Swicegood [Mon, 30 Apr 2012 16:07:15 +0000 (11:07 -0500)]
Ignore files that begin with an underscore (bandaid for #108)
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
Travis Swicegood [Sat, 28 Apr 2012 17:08:58 +0000 (12:08 -0500)]
Merge remote-tracking branch 'erichs/master'
Erich Smith [Sat, 28 Apr 2012 14:40:16 +0000 (10:40 -0400)]
fix typo
Erich Smith [Sat, 28 Apr 2012 14:35:01 +0000 (10:35 -0400)]
more portable pass function
Erich Smith [Sat, 28 Apr 2012 04:43:38 +0000 (00:43 -0400)]
help metadata for base plugin
Erich Smith [Fri, 27 Apr 2012 19:07:04 +0000 (15:07 -0400)]
import composure functions
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
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.
Daniel Leavitt [Wed, 25 Apr 2012 06:08:40 +0000 (23:08 -0700)]
Show rbenv active ruby rather than system ruby
Changwoo Park [Thu, 13 Oct 2011 05:19:03 +0000 (14:19 +0900)]
Make $HOSTNAME not necessary for hostname.
Travis Swicegood [Wed, 18 Apr 2012 16:08:21 +0000 (11:08 -0500)]
Merge remote-tracking branch 'grimreaper/master'
Eitan Adler [Tue, 17 Apr 2012 04:24:58 +0000 (00:24 -0400)]
Fix bogus bash binary location
Travis Swicegood [Mon, 26 Mar 2012 16:20:24 +0000 (11:20 -0500)]
Fix typo (thanks @rdmurphy)
Travis Swicegood [Mon, 26 Mar 2012 16:19:38 +0000 (11:19 -0500)]
Extract loading of enable-able files and add reload_* functions
Travis Swicegood [Mon, 26 Mar 2012 16:01:18 +0000 (11:01 -0500)]
add a few more helpers for virtualenv
Travis Swicegood [Mon, 26 Mar 2012 16:01:05 +0000 (11:01 -0500)]
Add a multiline doubletime theme that only shows Python
Travis Swicegood [Mon, 26 Mar 2012 16:00:39 +0000 (11:00 -0500)]
Merge remote-tracking branch 'revans/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
Travis Swicegood [Tue, 13 Mar 2012 14:35:30 +0000 (07:35 -0700)]
Merge remote-tracking branch 'rjorgenson/master'
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
Travis Swicegood [Tue, 13 Mar 2012 14:32:11 +0000 (07:32 -0700)]
Merge remote-tracking branch 'antono/fix-xterm-plugin'
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
Travis Swicegood [Tue, 13 Mar 2012 14:23:27 +0000 (07:23 -0700)]
add a multi-line doubletime theme
Antono Vasiljev [Sun, 4 Mar 2012 23:13:53 +0000 (02:13 +0300)]
Updated node version manager plugin to current master
Antono Vasiljev [Sun, 4 Mar 2012 19:58:53 +0000 (22:58 +0300)]
Install xterm title only for xterm
Travis Swicegood [Sun, 19 Feb 2012 03:52:10 +0000 (21:52 -0600)]
add defaults autocompletion for OS X
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
Travis Swicegood [Tue, 14 Feb 2012 23:25:34 +0000 (17:25 -0600)]
Merge remote-tracking branch 'berenm/master'
Travis Swicegood [Tue, 14 Feb 2012 23:25:27 +0000 (17:25 -0600)]
Revert "Revert new color framework"
This reverts commit
39df027ed7f1b99cabf2e34115cf39b95706fb3e.
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.
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
Travis Swicegood [Mon, 13 Feb 2012 21:15:06 +0000 (15:15 -0600)]
remove random debug comments
Travis Swicegood [Mon, 13 Feb 2012 20:26:48 +0000 (14:26 -0600)]
Add in autoenv from @kennethreitz
Jon Schewe [Sun, 12 Feb 2012 18:30:07 +0000 (12:30 -0600)]
Found another function that needs to be copied to tmux completion
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.
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
Travis Swicegood [Sat, 11 Feb 2012 21:39:40 +0000 (15:39 -0600)]
Fix a typo so new-session can be completed
Travis Swicegood [Sat, 11 Feb 2012 21:39:13 +0000 (15:39 -0600)]
Merge remote-tracking branch 'jpschewe/master'
Jon Schewe [Sat, 11 Feb 2012 20:48:09 +0000 (14:48 -0600)]
Fix typo in option check
Travis Swicegood [Sat, 11 Feb 2012 17:09:54 +0000 (11:09 -0600)]
Merge remote-tracking branch 'jpschewe/master'
Jon Schewe [Sat, 11 Feb 2012 03:02:28 +0000 (21:02 -0600)]
Merge remote-tracking branch 'upstream/master'
Jon Schewe [Sat, 11 Feb 2012 03:01:10 +0000 (21:01 -0600)]
Tmux completion
Travis Swicegood [Wed, 8 Feb 2012 23:32:24 +0000 (15:32 -0800)]
Merge pull request #99 from berenm/master
Improved color framework
Beren Minor [Wed, 8 Feb 2012 08:35:21 +0000 (09:35 +0100)]
Even better color framework.
Beren Minor [Tue, 7 Feb 2012 23:22:40 +0000 (00:22 +0100)]
Improved color framework.
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
Nils Winkler [Tue, 7 Feb 2012 13:31:33 +0000 (14:31 +0100)]
Added aliases for Maven
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
Robert Jung [Fri, 27 Jan 2012 11:35:57 +0000 (12:35 +0100)]
Add new ruby_version_prompt to mbriggs theme
Travis Swicegood [Thu, 26 Jan 2012 19:32:01 +0000 (13:32 -0600)]
Merge remote-tracking branch 'hmans/rbfu_support'
Hendrik Mans [Thu, 26 Jan 2012 15:07:06 +0000 (16:07 +0100)]
Update (most) themes to use new ${ruby_version_prompt} variable.
Travis Swicegood [Thu, 26 Jan 2012 14:18:43 +0000 (08:18 -0600)]
Switch to echo -e and use echo safe colors (fixes: #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)
Hendrik Mans [Tue, 24 Jan 2012 13:31:23 +0000 (14:31 +0100)]
Introduce $(ruby_version_prompt), wrapping around rbfu, rbenv and RVM 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.
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
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
Antono Vasiljev [Sat, 17 Dec 2011 08:46:40 +0000 (11:46 +0300)]
Set terminal emulatior title
Antono Vasiljev [Sat, 17 Dec 2011 08:45:59 +0000 (11:45 +0300)]
Added bash functions preexec() and precmd()