Travis Swicegood [Wed, 1 May 2013 18:43:01 +0000 (11:43 -0700)]
Merge pull request #205 from thusoy/patch-1
Fix typo in general.aliases.bash.
Tarjei Husøy [Wed, 1 May 2013 18:33:52 +0000 (21:33 +0300)]
Fix typo in general.aliases.bash.
Travis Swicegood [Wed, 24 Apr 2013 12:57:51 +0000 (05:57 -0700)]
Merge pull request #190 from spauka/master
Use ls --color=auto
Travis Swicegood [Wed, 24 Apr 2013 12:54:33 +0000 (07:54 -0500)]
Merge remote-tracking branch 'markrickert/master'
Conflicts:
aliases/available/git.aliases.bash
Travis Swicegood [Wed, 24 Apr 2013 03:21:10 +0000 (20:21 -0700)]
Merge pull request #191 from fizerkhan/master
Jitsu aliases
Travis Swicegood [Wed, 24 Apr 2013 03:20:34 +0000 (20:20 -0700)]
Merge pull request #192 from robb1e/master
"git pull --rebase" alias
Travis Swicegood [Wed, 24 Apr 2013 03:15:48 +0000 (20:15 -0700)]
Merge pull request #198 from conrado/master
small fix for #197
Travis Swicegood [Wed, 24 Apr 2013 03:08:51 +0000 (20:08 -0700)]
Merge pull request #200 from sgerrand/ignore-bash_profile-if-nonexistent
Adds write permission test on ~/.bash_profile prior to backup attempt
Sasha Gerrand [Wed, 24 Apr 2013 03:05:28 +0000 (13:05 +1000)]
Adds write permission test on ~/.bash_profile prior to backup attempt. Fixes #199.
Conrado Buhrer [Wed, 10 Apr 2013 16:57:21 +0000 (13:57 -0300)]
fixed: hg branch grep+awk problem #197
Mark Rickert [Tue, 9 Apr 2013 13:15:48 +0000 (09:15 -0400)]
Added some awesome git aliases for statistics, history, and seeing what changed.
Mark Rickert [Tue, 9 Apr 2013 13:14:40 +0000 (09:14 -0400)]
Added OSX utility shortcuts
.DS_Store cleaner (recursive)
See who's connected to your itunes library
Flush dns cache.
Travis Swicegood [Mon, 25 Mar 2013 14:40:16 +0000 (07:40 -0700)]
Merge pull request #193 from upgradingdave/small-fix-ensure-enabled-dir-exists
Create plugins/enabled directory if it doesn't already exist
Dave Paroulek [Mon, 25 Mar 2013 12:36:27 +0000 (08:36 -0400)]
Create plugins/enabled directory if it doesn't already exist
- This fixes a bug I saw after installing bash-it on Mac OS X 10.6.8.
During bash-it installation I chose not to install any plugins. After
install, when `bash-it enable plugin foo` was complaining that the
enabled directory did not exist.
Robbie Clutton [Sun, 10 Mar 2013 09:05:36 +0000 (09:05 +0000)]
'git pull --rebase' alias
Fizer Khan [Sat, 9 Mar 2013 07:09:52 +0000 (12:39 +0530)]
Added Jitsu aliases.
Sebastian Pauka [Wed, 6 Mar 2013 23:17:01 +0000 (10:17 +1100)]
Fixed ls alias to use --color=auto instead of --color=always.
Travis Swicegood [Thu, 14 Feb 2013 19:40:59 +0000 (11:40 -0800)]
Merge pull request #187 from manojlds/virtualenvprompt
Using $VIRTUAL_ENV to set virtualenv prompt
manojlds [Thu, 14 Feb 2013 05:08:12 +0000 (10:38 +0530)]
Using $VIRTUAL_ENV to set virtualenv prompt
Travis Swicegood [Fri, 16 Nov 2012 17:00:46 +0000 (11:00 -0600)]
Add a wovenv to match mkvenv
Travis Swicegood [Fri, 16 Nov 2012 17:00:30 +0000 (11:00 -0600)]
Remove --no-site-packages as that is now the default behavior
Travis Swicegood [Thu, 15 Nov 2012 16:24:01 +0000 (10:24 -0600)]
Add ability to override using $EDITOR
Greg Nofi [Thu, 15 Nov 2012 15:14:45 +0000 (10:14 -0500)]
Git Aliases: Remove duplicate darwin clause/add default clause for git diff.
Nils Winkler [Tue, 13 Nov 2012 13:16:21 +0000 (14:16 +0100)]
Added completion (show, help, enable, disable) for the bash-it function
Travis Swicegood [Thu, 20 Sep 2012 20:36:54 +0000 (15:36 -0500)]
Make sure that the npm prefix is in PATH
Travis Swicegood [Thu, 20 Sep 2012 02:53:27 +0000 (21:53 -0500)]
Add code to handle node_modules path
Travis Swicegood [Thu, 6 Sep 2012 17:52:19 +0000 (13:52 -0400)]
Add Django auto-complete support
Erich Smith [Thu, 2 Aug 2012 16:01:52 +0000 (09:01 -0700)]
Merge pull request #152 from Jeraimee/master
Adding a "Finder Here" (fh) alias for OS X
Jeraimee Hughes [Wed, 1 Aug 2012 18:03:09 +0000 (14:03 -0400)]
Added fh (Finder Here) alias for OS X
Erich Smith [Wed, 1 Aug 2012 00:32:49 +0000 (17:32 -0700)]
Merge pull request #114 from emilb/master
Added Maven completion file
Erich Smith [Wed, 1 Aug 2012 00:30:34 +0000 (17:30 -0700)]
Merge pull request #144 from nwinkler/bash-it-osx-growl
Growl notification for OS X commands
Erich Smith [Wed, 1 Aug 2012 00:27:44 +0000 (17:27 -0700)]
Merge pull request #151 from ChrisCauser/master
The installer is currently broken on my setup when selecting all. This patch should fix it.
Chris Causer [Tue, 31 Jul 2012 10:09:10 +0000 (11:09 +0100)]
Remove buggy line in install.sh causing "all" option to break
When selecting all, I get the following in my plugins/enabled directory
$ cd ~/.bash_it/plugins/enabled && ls -l
<snip fileinfo> * -> ~/.bash_it/plugins/[^_]available/*
In other words, the regexp is not being expanded, and I don't think bash
has ever had this capability (I am running 4.2.24) . Looking at the commit
24431627ab24c1c97bf3fb5796037e198f465e25, this line was added so as to disable
some plugins starting with a "_". In this circumstance, this line is
wrong anyway as it skips the directory "_available", rather than
available/_whatever.
This commit aims to fix this to the installer's intended purpose.
It also does a sanity check that no file exists already in enabled and
skips otherwise. ln -s does the right thing however more human error
message might be more desirable.
Erich Smith [Tue, 10 Jul 2012 17:15:31 +0000 (10:15 -0700)]
Merge pull request #129 from erichs/todo.sh
add todo.txt-cli as a plugin
Erich Smith [Tue, 10 Jul 2012 17:12:31 +0000 (10:12 -0700)]
Merge pull request #139 from nwinkler/enable-disable-aliases-completions
Enable/Disable for aliases and completions
Travis Swicegood [Tue, 3 Jul 2012 18:15:11 +0000 (13:15 -0500)]
Merge remote-tracking branch 'von/master'
Von Welch [Sat, 30 Jun 2012 20:47:13 +0000 (16:47 -0400)]
Don't require tmux server to be running for completion to work.
Nils Winkler [Mon, 25 Jun 2012 10:16:53 +0000 (12:16 +0200)]
Added comment for grnot.
Nils Winkler [Wed, 6 Jun 2012 09:32:08 +0000 (11:32 +0200)]
Added alias for Growl notification, can be used like the following to notify once the long running process (make in this example) is done:
$ make install ; grnot
nwinkler [Thu, 24 May 2012 07:27:49 +0000 (00:27 -0700)]
Merge pull request #3 from erichs/enable-disable-aliases-completions
readme update
Erich Smith [Thu, 24 May 2012 01:43:18 +0000 (21:43 -0400)]
update README
Nils Winkler [Wed, 23 May 2012 07:24:42 +0000 (09:24 +0200)]
Merged @erichs changes for the bash-it function.
Nils Winkler [Wed, 23 May 2012 07:31:35 +0000 (09:31 +0200)]
Updated help
Erich Smith [Tue, 22 May 2012 03:55:31 +0000 (23:55 -0400)]
alias-help()
Erich Smith [Tue, 22 May 2012 03:52:47 +0000 (23:52 -0400)]
add alias metadata, remove help()
Nils Winkler [Tue, 22 May 2012 07:33:59 +0000 (09:33 +0200)]
Cleaned up parameters and added meta data for plumbing functions.
Travis Swicegood [Mon, 21 May 2012 22:08:34 +0000 (15:08 -0700)]
Merge pull request #138 from nwinkler/java-plugin
Java plugin
Nils Winkler [Mon, 21 May 2012 13:52:03 +0000 (15:52 +0200)]
Changed meta info resolution to look for data based on the type, e.g. about-plugin, about-alias, about-completion.
Nils Winkler [Mon, 21 May 2012 11:24:49 +0000 (13:24 +0200)]
Extended enable/disable and describe functionality to work for aliases and completions as well.
Nils Winkler [Mon, 21 May 2012 09:50:01 +0000 (11:50 +0200)]
Added Java plugin.
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.
Erich Smith [Fri, 18 May 2012 01:43:57 +0000 (21:43 -0400)]
conditionally define t()
if user has enabled the todo plugin, skip defining the 'one thing'
todo function t().
Erich Smith [Fri, 18 May 2012 01:40:08 +0000 (21:40 -0400)]
conditionally define t()
if user has installed the todo plugin, forego defining the 'one thing'
todo function t().
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
Erich Smith [Fri, 11 May 2012 00:39:18 +0000 (20:39 -0400)]
respect profile overrides
overrides may now be specified for any of these defaults:
TODO_DIR=$BASH_IT/custom # change if you want todo.txt and friends
# to live somewhere else
TODOTXT_DEFAULT_ACTION=ls # change if you want a different action,
# like 'lsp' or 'lsprj'
TODO_SRC_DIR=
$BASH_IT/plugins/available/todo # for custom installs with plugins
Erich Smith [Fri, 11 May 2012 00:33:17 +0000 (20:33 -0400)]
Merge branch 'master' into todo.sh
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 23:32:05 +0000 (19:32 -0400)]
add todo.txt-cli as a plugin
Since it is referenced in the default .bash_profile and in aliases and
themes, why not make it an official plugin?
This creates a 'todo/' directory in /plugins/available, and installs
todo.sh and friends there. Tab completion and the 't' alias should work
out of the box.
Note: it was also necessary to modify .gitignore to ignore the files
todo.sh generates in custom/.
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