Don Reilly
d589f95477
Allow custom themes to be in $BASH_IT/custom/themes
2015-11-24 15:55:06 -06:00
Nils Winkler
18836b1a0c
Merge pull request #588 from crazygit/upstream
...
add bulk enable or disable function
2015-10-27 10:42:19 +01:00
crazygit
a42e5f4d73
add bulk enable or disable function
2015-10-23 00:07:35 +08:00
Dwight Holman
503fc7bede
Basename -s is platform specific, so use Bash's variable expansion instead.
2015-10-14 16:58:40 -07:00
Ivan Povalyukhin
119b8696ad
[history-bash] remote unused export call; cleanup history.bash file
2015-06-17 14:17:27 -07:00
Ivan Povalyukhin
1cb9093c9c
[pathmunge] fix test and modify metadata syntax in the function pathmunge to be easier supported in the test
2015-06-07 20:23:19 -07:00
Ivan Povalyukhin
cf3728c5aa
[pathmunge] added function to prevent duplicates in PATH variable
2015-05-30 00:26:22 -07:00
Ivan Povalyukhin
ce4562decc
rename lib/composure.{sh,bash} for consistency and to allow load helper work in tests
2015-03-28 18:54:37 -07:00
Ivan Povalyukhin
540b946333
[code-gardening] rm duplicate definition of transcribe function in lib/composure.sh
2015-03-23 15:17:59 -07:00
Nils Winkler
d29d6df2f2
Added support for `bash-it help completions` command.
...
It's showing the same output as `bash-it show completions`,
to keep things simple.
2015-03-23 08:18:48 +01:00
Matt Wismer
0c70325542
Use basename instead of sed
2015-01-06 16:50:44 -05:00
MattWis
a9e8f10e35
Add ability to preview themes
2015-01-06 16:50:05 -05:00
Benjamin Brombach
4b60298939
Fixed #157 : Made 'type' command using default LANG (not system LANG) to check if function or alias.
2014-12-03 13:51:32 +01:00
Sergio Pieiga
e91f1a0aeb
grep v2.21 compatibility
...
grep v2.21 depracates GREP_OPTIONS env var
2014-11-27 08:29:45 -05:00
John A. Barbuto
fb134f4e3b
Use relative symlinks for enabling plugins
...
This extends 10bda0c for post-install enablements as well.
2014-04-06 13:33:39 -07:00
Dave Paroulek
75dbdaf274
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.
2013-03-25 08:36:27 -04:00
Nils Winkler
be20972cf0
Merged @erichs changes for the bash-it function.
2012-05-23 09:45:36 +02:00
Nils Winkler
e82991beb8
Updated help
2012-05-23 09:31:56 +02:00
Erich Smith
961c914e0f
alias-help()
2012-05-22 10:08:38 +02:00
Nils Winkler
95ce548451
Cleaned up parameters and added meta data for plumbing functions.
2012-05-22 09:33:59 +02:00
Nils Winkler
f71be20247
Changed meta info resolution to look for data based on the type, e.g. about-plugin, about-alias, about-completion.
2012-05-21 15:52:03 +02:00
Nils Winkler
1f558e2550
Extended enable/disable and describe functionality to work for aliases and completions as well.
2012-05-21 13:24:49 +02:00
Erich Smith
bffae2a1e1
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.
2012-05-20 13:18:04 -04:00
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 `\[[1;34m\]\[$(scm_char)\]\[[0;32m\]\[$(scm_prompt_info)\]\[[0;34m\]\[$(rvm_version_prompt)\] \[[33;40m\]\h \[[39m\]in \[[0;32m\]\w \[[39m\]\[\n\[[0;32m\]→\[[39m\] ` 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