Commit Graph

277 Commits (1dcfecbc17b96c8747fcf18adabf4d41492e5fa6)

Author SHA1 Message Date
Nils Winkler ff99e1f8d4 Fixed BASH_IT path in fasd configuration to use environment variable instead of fixed path. 2012-05-10 15:57:47 +02:00
Erich Smith f5badb3c28 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/.
2012-05-09 19:37:37 -04:00
Erich Smith 3f8fe6157c update plugin documentation 2012-05-09 09:27:10 -04:00
Erich Smith 248eb30e00 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.
2012-05-08 23:40:24 -04:00
Travis Swicegood 89263728f2 Merge remote-tracking branch 'erichs/fasd' 2012-05-07 18:21:33 -05:00
Travis Swicegood 8bac035322 Merge remote-tracking branch 'erichs/fix_pull_121' 2012-05-07 18:19:07 -05:00
Mike Thornton bae8a1cd6f Make it so rbenv doesn't try to run if it's not installed 2012-05-07 15:48:38 -05:00
Erich Smith b9e985b893 update alias directory 2012-05-07 12:57:23 -04:00
Erich Smith 3e76d67134 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.
2012-05-07 12:56:08 -04:00
Erich Smith 5d32cf9a02 quote examples
prevent bash expansion and parsing of example code
2012-05-07 12:51:10 -04:00
Travis Swicegood 4c3f21ae0b add a little docblock explaining about it 2012-04-30 11:09:46 -05:00
Travis Swicegood 576fcb6c6f Ignore files that begin with an underscore (bandaid for #108) 2012-04-30 11:07:15 -05:00
Erich Smith 2086a053df fix typo 2012-04-28 10:40:16 -04:00
Erich Smith e3011c5ead more portable pass function 2012-04-28 10:35:01 -04:00
Erich Smith a3c3caa0ab help metadata for base plugin 2012-04-28 00:43:38 -04:00
Eitan Adler 3fc60b5358 Fix bogus bash binary location 2012-04-17 00:24:58 -04:00
Travis Swicegood a74279df5c Fix typo (thanks @rdmurphy) 2012-03-26 11:20:24 -05:00
Travis Swicegood 1372e7d931 add a few more helpers for virtualenv 2012-03-26 11:01:18 -05:00
Travis Swicegood c79d7b0cc8 Merge remote-tracking branch 'antono/fix-xterm-plugin' 2012-03-13 07:32:11 -07:00
Antono Vasiljev 1527630754 Updated node version manager plugin to current master 2012-03-05 02:13:53 +03:00
Antono Vasiljev f3c6300e4d Install xterm title only for xterm 2012-03-04 22:58:53 +03:00
Travis Swicegood 0a729a4001 remove random debug comments 2012-02-13 15:15:06 -06:00
Travis Swicegood a639898f1b Add in autoenv from @kennethreitz 2012-02-13 14:26:48 -06:00
Travis Swicegood ea0dc44c53 Switch to echo -e and use echo safe colors (fixes: #96) 2012-01-26 08:18:59 -06:00
Robert Evans 12167fb1df Merge pull request #88 from victorcoder/master
New theme envy and rbenv integration/plugin
2011-12-19 10:34:33 -08:00
Antono Vasiljev 538980c449 Set terminal emulatior title 2011-12-17 11:46:55 +03:00
Travis Swicegood aa622e8c34 add mkvenv shortcut 2011-11-15 10:47:37 -06:00
Victor Castell e7deb90335 Typos in plugin 2011-11-05 15:53:27 +01:00
Victor Castell ef4111e9b0 rbenv plugin 2011-11-05 13:20:00 +01:00
Antono Vasiljev 18bcceaa08 Updated nvm.plugin.bash 2011-08-25 16:46:44 +03:00
Mark Szymanski ba8fde85eb Make gshuf alias checker work on other bash versions 2011-08-12 16:30:55 -05:00
Mark Szymanski 576434048b Add simple password generator 2011-08-10 18:49:20 -05:00
Yakkala Yagnesh Raghava dcdfd66d2a BOOKMARKing:remove absolute path of sed, to make compatible with OS X 2011-08-06 01:01:17 +09:00
Yakkala Yagnesh Raghava c6e096e35d Add BOOKMARKing functionality to dirs plugin 2011-08-06 00:14:15 +09:00
Mark Szymanski 1051720257 Add error throw for no file specified 2011-07-17 13:22:49 -05:00
Mark Szymanski 561c4d60a0 Move extract.bash to a proper location 2011-07-17 13:21:38 -05:00
Antono Vasiljev 8c7b8f26c8 Node version manager as plugin 2011-07-17 06:52:27 +03:00
Travis Swicegood 3cd70de071 adds a tmuxinator plugin 2011-07-09 17:39:28 -05:00
Mark Szymanski 3a2b525ac6 Added prevcurl function
Downloads a file and opens it in Preivew.app
2011-07-07 11:04:27 -05:00
Mark Szymanski e1a299eafb Implement JEKYLL_EDITOR variable 2011-07-02 21:44:56 -05:00
Mark Szymanski 1a96945885 Fix grammar on error message 2011-06-30 08:30:46 -05:00
Mark Szymanski 9ad7964c86 Add support for multiple Jekyll sites 2011-06-24 17:49:19 -05:00
David DeSandro 11b5955161 Revert "move garb into git plugins; rename newpost as jknewpost"
This reverts commit d22a4cfa70.
2011-06-20 16:13:34 -04:00
JFSIII 65ce6fdb6f Merge branch 'master' of https://github.com/desandro/bash-it 2011-06-17 22:48:07 -04:00
JFSIII 1b7c9419bf Convert themes and plugins to use the update colors. Themes are no longer burdened with escaping the unprintable characters 2011-06-17 19:45:21 -04:00
David DeSandro d22a4cfa70 move garb into git plugins; rename newpost as jknewpost 2011-06-17 11:01:18 -04:00
Travis Swicegood 279b60e26f Merge pull request #51 from tswicegood/javascript-update
Allow specifying jQuery/jQuery UI version number and update defaults
2011-06-06 13:41:55 -07:00
Travis Swicegood b740d7f0f7 Make sure that RVM is loaded before defining extras 2011-05-30 09:52:30 -05:00
Travis Swicegood 20d5f97f3e Load RVM and auto-completion is available
No reason not to turn on RVM if it's present and the autocompletion is a
huge benefit.
2011-05-30 09:46:22 -05:00
Travis Swicegood a694d2de9c Allow specifying jQuery/jQuery UI version number and update defaults 2011-05-29 15:25:26 -05:00
Mark Szymanski 4898fa9119 Add pmdown function for previewing markdown files 2011-05-27 11:47:55 -05:00
Mark Szymanski 516ce40c4e Git ignore works now 2011-05-27 11:40:39 -05:00
Travis Swicegood ffa45b0391 Create the concept of enabled plugins
This allows users to disable a plugin without completely removing it.
Instead, they simply remove the `plugins/enabled/*.bash` file for the
plugin they want to disable.  This continues the concept of "everything
on" while providing greater flexibility to future users.

It might be a good idea to allow turning these off by default in the
future and allowing not only the `plugins/enabled/*.bash` files but also
an array of `<plugin_name>` values that would search for
`plugins/available/<plugin_name>.plugin.bash` to enable them.  That
method would make it easier for people custom tune their plugins from
within their `.bash_profile` script.
2011-05-02 23:12:50 -05:00
Travis Swicegood 8392f29250 Unset the MACTEXT_PATH var so it doesn't leak through to env
Thought this variable wasn't making it to the session, but it does even
without the `export`.  This corrects that by explicitly unsetting it
before we continue.
2011-04-01 08:07:14 -05:00
Travis Swicegood ad502d9483 make sure tmux is launched in 256 color mode 2011-03-31 17:02:48 -05:00
Travis Swicegood 97e73f44dc add support for mactex if its present 2011-03-31 17:02:48 -05:00
Florian Baumann b2857a3774 added git_stats function to git plugin collection 2011-03-27 20:44:17 +02:00
Florian Baumann 0798a8034a removed hcht plugin. there are several bugs which couldn't be fixed so far without rewriting the whole module 2011-03-27 20:28:47 +02:00
Daniel Engel e56c71a002 Added 'tonka' prompt, and personal color scheme.
Added 'dirs' plugin, dor directory stack navigation.
2011-03-14 20:36:25 -04:00
Mark Szymanski 63c60e5fa3 Added "down4me" plugin 2011-03-11 20:32:46 -06:00
Robert Lowe 63a00c757d * 2 new functions, wmate & raw
* wmate will pipe wget into textmate and tidy for you (command + z to undo tidy)
 * raw will pipe wget into your browser
2011-03-07 23:16:18 -05:00
Jesus de Mula Cano 7ae2952b28 Fix bug of battery plugin not displaying right low percentages (Linux) 2011-03-07 17:06:31 +01:00
Jesus de Mula Cano b79fc5d03e Add beginings of mac os support for the battery plugin 2011-03-07 01:26:24 +01:00
Jesus de Mula Cano f98a728866 Check for OS type in demula theme prompt string 2011-03-07 01:11:20 +01:00
Jesus de Mula Cano cced72742f fix deleting screw up 2011-03-07 00:18:05 +01:00
Jesus de Mula Cano fe9116c8e6 change back http alias and check for Linux to use python2 2011-03-07 00:06:52 +01:00
Jesus de Mula Cano 1080af358d Update battery.plugin to check for acpi existence 2011-03-07 00:05:54 +01:00
Jesus de Mula Cano 229aa833a2 Add command_exists function to base.plugin from http://stackoverflow.com/questions/592620/check-if-a-program-exists-from-a-bash-script: 2011-03-07 00:02:43 +01:00
Jesus de Mula Cano 23de53a084 battery plugin code clean up 2011-03-06 22:37:47 +01:00
Jesus de Mula Cano 8188b91db3 new battery plugin that shows energy in a "bar" all done with acpi and bash 2011-03-06 18:12:24 +01:00
Jesus de Mula Cano 5f8e0c49d6 python plugin updated to work with archlinux (envvar python is python 3 not 2). 2011-03-04 11:48:12 +01:00
Travis Swicegood 27baae9cb3 Add support for virtualenvwrapper if its present 2011-03-02 23:49:30 -06:00
Mark Szymanski e787f2653e Added lsgrep() function and comments for mkcd() function 2011-02-27 09:49:51 -06:00
Mark Szymanski bacc6235f0 Post dates now include the year 2011-01-09 14:10:56 -06:00
Mark Szymanski 91835d5f7c Added quoting for $EDITOR's with spaces 2011-01-01 11:40:49 -06:00
Mark Szymanski f3a4d44619 Moved variable and fixed formatting for 'editpost' 2010-12-20 10:07:33 -06:00
Mark Szymanski 3c0ea6784e Added 'editpost' function for jekyll plugins 2010-12-20 10:02:54 -06:00
Florian Baumann ab44572ba4 added minimal config backup function buf() 2010-12-14 14:33:16 +01:00
Rich Manalang 2ce12674f6 added https://github.com/rupa/z as a plugin 2010-12-13 13:39:41 -08:00
Rich Manalang 33850711cc Merge branch 'master' of git://github.com/revans/bash-it 2010-12-13 13:38:10 -08:00
Florian Baumann c00bde6bbd moved config of hcht to bash_profile template 2010-12-01 06:45:42 +01:00
Florian Baumann d25288fdd3 fixed readme 2010-11-30 16:41:41 +01:00
Florian Baumann aa228fb0c3 added handmade commandline history tool 2010-11-30 16:33:10 +01:00
Mark Szymanski 835bcabf04 Added Link post type. 2010-11-28 12:37:31 -06:00
Florian Baumann aaa107161b added git_info function to git plugin 2010-11-22 13:07:08 +01:00
Mark Szymanski 62295973ca Added quiet function to run command in background. 2010-11-20 16:27:47 -06:00
Fedyashev Nikita 7f721fe5e7 completion to help command added 2010-11-19 00:27:14 -05:00
Fedyashev Nikita 5f6125e480 refactored version; valid workflow 2010-11-19 00:22:13 -05:00
Fedyashev Nikita 4350c3f13f Vagrant autocompletion: base working version 2010-11-18 23:42:30 -05:00
Mark Szymanski 415d8b7458 Added support for Textile formatting in newpost() 2010-11-15 20:42:36 -06:00
Mark Szymanski 14c78bff05 Added check to make sure the user is using Markdown formatting with newpost() 2010-11-15 20:31:38 -06:00
Mark Szymanski 12d8abda06 Added ability to choose post type with newpost() function. 2010-11-15 20:29:36 -06:00
Mark Szymanski c8f94b0892 Added shebang 2010-11-15 20:03:35 -06:00
Mark Szymanski 7b1312002f Changed 'cd's to 'builtin cd's, because I have a modified cd command (cd then ls) and it can get annoying when using the Jekyll aliases. 2010-11-13 10:21:59 -06:00
Florian Baumann 02d65afdcb added pipe-able browser hack from defunkt 2010-11-10 20:25:40 +01:00
Florian Baumann 6a890d21c9 os x fix for plugins-help() 2010-11-08 21:40:16 +01:00
Florian Baumann cecbae54e5 added plugins-help message 2010-11-08 21:31:11 +01:00
Mark Szymanski 64eb33844d Fixed error that would occur on Mac OS X reporting misplaced ) 2010-11-05 15:27:03 -05:00
Mark Szymanski 4b26a78745 Added t alias for one thing todo. Inspired by http://onethingwell.org/post/758016936/one-thing-todo 2010-11-05 15:02:12 -05:00
Robert R Evans b7fcfd7f3a Merge branch 'master' of github.com:revans/bash-it 2010-11-05 12:39:18 -07:00
Mark Szymanski 5a7174a734 Added banish-cookies function. Inspired by http://onethingwell.org/post/1480517866/banish-flash-cookies 2010-11-04 13:09:40 -05:00
Florian Baumann e1761160df spelling error in usage 2010-11-04 18:24:02 +01:00
Florian Baumann 827578c79f added dock-switch to osx plugin. switches between 3d and 2d 2010-11-04 18:19:50 +01:00
Robert R Evans 2d9da1f156 Merge branch 'master' of http://github.com/noqqe/bash-it into noqqe-master 2010-11-02 08:50:37 -07:00
Florian Baumann e45e72ec27 usage() for os x and linux 2010-11-02 14:50:45 +01:00
Mark Szymanski 1a045dea98 Added newpost plugin. Creates a new jekyll post with the current date, and a user specified title. Even fills in the YAML Front Matter. Sorry if that seemed like bragging, I just wanted everyone to notice so they could make use of it better... 2010-11-01 20:49:57 -05:00
Mark Szymanski a8fc3c78d9 Added jekyll.plugins.bash file 2010-11-01 20:24:39 -05:00
Mark Szymanski 123c3be698 Moved mkcd function from aliases/general.aliases.bash to plugins/base.plugins.bash 2010-10-18 18:24:15 -05:00
Robert R Evans 468c0c5ce9 Merged in mrman208's additions. 2010-10-14 15:11:02 -07:00
Robert R Evans 50b19d8bef Added sshosts to view all the ssh config hosts that have been added. This command will only print out the host names
that you would use for ssh/scp.
2010-10-12 10:11:21 -07:00
Robert R Evans e1c063ff0a Updated the ssh config 2010-10-10 17:54:11 -07:00
Robert R Evans 22d9179ff7 Add "add_ssh" to add a new ssh host to the ~/.ssh/config file. 2010-10-10 09:45:32 -07:00
Robert R Evans 2010f011f8 Made a lot of changes: no more functions directory. All aliases have been moved to the new alias directory. Plugins are now for functions only. Updated the README to reflect the changes and add a contributor's list. 2010-10-10 09:24:19 -07:00
Robert R Evans 698509adb0 Added rvm prompt info 2010-10-09 21:46:28 -07:00
zerobearing2 0cd8b40339 added alias to git plugin 2010-10-07 18:13:57 -07:00
Rich Manalang bbd6c02cb5 added alias for python's SimpleHTTPServer 2010-10-07 17:21:05 -07:00
Rich Manalang 7c4af5c1d3 changed v alias so that it opens the file in a new tab. Current alias opens the file in an existing tab replacing the file that was already open 2010-10-07 13:35:55 -07:00
Rich Manalang c94ccf1a39 added alias for opening finder using f <dir> 2010-10-07 13:34:42 -07:00
zerobearing2 aa20f4ea9c Merge branch 'master' of git://github.com/revans/bash-it 2010-10-06 17:51:30 -07:00
zerobearing2 3802bcc6a6 git tweaks
rails tweaks
added heroku plugin
2010-10-06 17:42:29 -07:00
Robert R Evans c9da086643 Removed custom.bash and am now completely ignoring all files within the custom directory. Started de-macify to provide more support for linux (thanks to alsemyonov on github). 2010-10-06 17:27:55 -07:00
Robert R Evans 149c18fd58 Small updates 2010-10-02 15:47:22 -07:00
Robert R Evans 070107ab95 Added a function to get your public IP address 2010-10-02 15:23:57 -07:00
Robert R Evans a4d0242dd0 Help files. Added the rest of bash it 2010-10-02 15:07:29 -07:00
Robert R Evans a7d1ee0c02 Added help screens. 2010-10-02 15:04:24 -07:00
Robert R Evans 76ed68d18c Cleaned bash it up 2010-10-02 12:29:17 -07:00
Robert R Evans 9c7cd9aa00 First Commit 2010-10-02 11:55:34 -07:00