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"'...
This commit is contained in:
Konstantin Gredeskoul
2016-03-20 10:34:49 -07:00
parent 5ec816342f
commit c0a657270c
7 changed files with 85 additions and 6 deletions

3
.gitignore vendored Normal file → Executable file
View File

@@ -1,3 +1,4 @@
.atom-build.json
*/enabled/*
.DS_Store
custom/*
@@ -9,3 +10,5 @@ lib/custom.bash
plugins/custom.plugins.bash
*.swp
.*.un~
bats
.idea