Commit Graph

73 Commits (e8b130a2775a82dc84c942d449bf8da62736801a)

Author SHA1 Message Date
Nils Winkler 99bf5f09ad Moved grep alias to general aliases 2017-01-09 18:13:10 +01:00
Nils Winkler 38bfc93270 Merge pull request #834 from edubxb/fix-765
Fix search command for RedHat based distributions
2017-01-03 08:45:33 +01:00
Adam Karim 2a4e27cdba Updating README.
Fixing custom location for themes.
2016-11-29 09:55:13 -08:00
Eduardo Bellido Bellido 5f2a4b5d8b Fix search command for RedHat based distributions 2016-11-14 01:26:10 +01:00
Levent YALCIN e1f4283b64 indentation fix 2016-11-04 18:15:07 +00:00
Levent YALCIN 1b98e39f5a ignorespace is a good one other than shopt 2016-11-04 18:14:45 +00:00
Kevin Glowacz bd52e16895
Remove `continue` from conditional
This is an artifact left over from when this function was extracted from
inside a loop b524bb6047

However, `continue` isn't doing anything when not inside a loop and this
now raises a warning in bash 4.4:

"continue: only meaningful in a `for', `while', or `until' loop"
2016-09-22 10:55:22 -05:00
Thomas Bouve afe8b0d8ec Fix for bash-it help plugins error (pathmunge group value). 2016-08-06 23:41:27 +02:00
Eric Anders 3b56275ef6
Check for empty or whitespace PROMPT_COMMAND before appending preexec_invoke_cmd 2016-08-04 15:51:15 -05:00
Nick Silva f82b57b046 Merge branch 'master' into autoreload 2016-08-01 11:25:47 -07:00
Nick Silva 16b455d0c6 add BASH_IT_AUTOMATIC_RELOAD_AFTER_CONFIG_CHANGE option 2016-08-01 11:19:17 -07:00
Nick Silva 2d7881022a Remove hyphen from bash when reloading 2016-07-22 17:43:07 -07:00
Nick Silva fb85db14a9 763: Automatically reload shell after enabling and disabling things. 2016-07-22 16:15:31 -07:00
Nick Silva bbcb50ca2b Remove stray debugging echoes 2016-07-19 11:38:36 -07:00
Nick Silva 7c8be52ac5 Revert local variable declaration 2016-07-19 11:17:49 -07:00
Nick Silva 7c1370ac00 Add support for custom alias group with alias help command. 2016-07-19 11:12:36 -07:00
Konstantin Gredeskoul db5061cf80 Better tests, more resilience and a bug fix 2016-05-12 04:04:51 -07:00
Konstantin Gredeskoul 1a02db13bc Adding documentation 2016-05-07 06:39:40 -07:00
Konstantin Gredeskoul 9bb2d377a8 Enable/Disable with negated search feature 2016-05-07 06:26:30 -07:00
Konstantin Gredeskoul fb6a6c80c0 Highlighting color of enabled components 2016-05-07 04:23:03 -07:00
Konstantin Gredeskoul ffbeeacc54 Moving search into its own module before more work 2016-05-07 04:19:03 -07:00
Travis Swicegood 1e826eefb4 Allow overriding name of remote 2016-03-25 18:03:41 -05:00
Konstantin Gredeskoul fd3d305fad Faster search, and cleaner completion 2016-03-24 02:54:30 -07:00
Konstantin Gredeskoul c0a657270c Add bash-it search functionality
- "bash-it search term1 [term2]...."

 - we are using existing 'bash-it show plugins|aliases|completions'
   commands output, to search (with grep) for lines that match the
   search terms, and then output the matches.

 - wrote a simple unit test that for whatever reason fails on Travis,
   so wrapped it in 'if "Darwin"'...
2016-03-23 23:13:51 -07:00
James Cuzella 3c9fecf967 Make all vars defined in lib/history.bash overridable. Set these before sourcing Bash-It with .bashrc or .bash_profile to override defaults 2016-03-11 11:28:11 -07:00
Eduardo Bellido Bellido 48f26406f0 Apply new naming convention 2016-02-09 22:49:08 +01:00
Eduardo Bellido Bellido 1dba074024 Fix variable syntax error 2016-02-05 18:47:57 +01:00
Eduardo Bellido Bellido 3438c1d7c4 New update command 2016-02-05 00:13:41 +01:00
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