Commit Graph

272 Commits (27bfc966ac7a84e5a50d131e0a9c80c35a2e8bca)

Author SHA1 Message Date
Erich Smith 758c4f3328 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.
2012-05-16 13:00:22 -04:00
Erich Smith a825c5f16f 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
2012-05-15 14:29:06 -04:00
Travis Swicegood e14543a4bc 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()
2012-05-15 14:27:29 -04:00
Erich Smith 70e1cd36be fix typos 2012-05-14 14:12:09 -04:00
Erich Smith 08e439c4f0 update plugin management 2012-05-13 22:13:54 -04:00
Erich Smith 254d4459e2 basic plugin management
move plugin management functions into 'lib' group in helpers.bash
2012-05-13 22:13:54 -04:00
Erich Smith a385e0f32e update to latest version of composure.sh
this fixes a bug in draft() and improves performance in metafor()
and glossary()
2012-05-13 22:13:03 -04:00
Erich Smith 635c380a91 update composure 2012-05-08 23:48:01 -04:00
Travis Swicegood 3e7c0fbda0 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.
2012-05-04 16:30:22 -05:00
Erich Smith a8fcf9f18c import composure functions 2012-04-28 00:02:31 -04:00
Eitan Adler 3fc60b5358 Fix bogus bash binary location 2012-04-17 00:24:58 -04:00
Travis Swicegood b524bb6047 Extract loading of enable-able files and add reload_* functions 2012-03-26 11:19:38 -05:00
Antono Vasiljev bd61f6e180 Added bash functions preexec() and precmd() 2011-12-17 11:45:59 +03:00
John Schulz 323ce20a2d Replace `$BASH` with `$BASH_IT` because `$BASH` is already used on *nix systems for the pathname to the executable (http://www.gnu.org/software/bash/manual/html_node/Bash-Variables.html#Bash-Variables) 2011-09-20 11:07:48 -04:00
John Schulz 6e7f423983 Allow theming to be disabled (eg for old terminals)
* Only load a theme file if `bobby` has been set
 * Only alter `PS1` if `\[\]\[$(scm_char)\]\[\]\[$(scm_prompt_info)\]\[\]\[$(rvm_version_prompt)\] \[\]\h \[\]in \[\]\w \[\]\[\n\[\]→\[\] ` has a value
2010-11-11 11:57:47 -05: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
Robert R Evans 5e0e86f705 Added a generic aliases help 2010-10-02 15:29:23 -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 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